Skip to content

Commit b8a922d

Browse files
committed
Rename parameters to simple_cycles method
1 parent 1473dd3 commit b8a922d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/_igraph/graphobject.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7828,7 +7828,7 @@ PyObject *igraphmodule_Graph_simple_cycles(
78287828
igraph_integer_t max_cycle_length = -1;
78297829
igraph_bool_t use_edges = false;
78307830

7831-
static char *kwlist[] = { "mode", "min_cycle_length", "max_cycle_length", "output", NULL };
7831+
static char *kwlist[] = { "mode", "min", "max", "output", NULL };
78327832

78337833
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOOO", kwlist, &mode_o, &min_cycle_length_o, &max_cycle_length_o, &output_o))
78347834
return NULL;
@@ -16624,16 +16624,16 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1662416624
},
1662516625
{"simple_cycles", (PyCFunction) igraphmodule_Graph_simple_cycles,
1662616626
METH_VARARGS | METH_KEYWORDS,
16627-
"simple_cycles(mode=None, min_cycle_length=0, max_cycle_length=-1, output=\"vpath\")\n--\n\n"
16627+
"simple_cycles(mode=None, min=0, max=-1, output=\"vpath\")\n--\n\n"
1662816628
"Finds simple cycles in a graph\n\n"
1662916629
"@param mode: for directed graphs, specifies how the edge directions\n"
1663016630
" should be taken into account. C{\"all\"} means that the edge directions\n"
1663116631
" must be ignored, C{\"out\"} means that the edges must be oriented away\n"
1663216632
" from the root, C{\"in\"} means that the edges must be oriented\n"
1663316633
" towards the root. Ignored for undirected graphs.\n"
16634-
"@param min_cycle_length: the minimum number of vertices in a cycle\n"
16634+
"@param min: the minimum number of vertices in a cycle\n"
1663516635
" for it to be returned.\n"
16636-
"@param max_cycle_length: the maximum number of vertices in a cycle\n"
16636+
"@param max: the maximum number of vertices in a cycle\n"
1663716637
" for it to be considered.\n"
1663816638
"@param output: determines what should be returned. If this is\n"
1663916639
" C{\"vpath\"}, a list of tuples of vertex IDs will be returned. If this is\n"

0 commit comments

Comments
 (0)