We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304ca21 commit 128e226Copy full SHA for 128e226
Objects/rangeobject.c
@@ -645,7 +645,7 @@ PyDoc_STRVAR(count_doc,
645
"rangeobject.count(value) -> integer -- return number of occurrences of value");
646
647
PyDoc_STRVAR(index_doc,
648
-"rangeobject.index(value, [start, [stop]]) -> integer -- return index of value.\n"
+"rangeobject.index(value) -> integer -- return index of value.\n"
649
"Raise ValueError if the value is not present.");
650
651
static PyMethodDef range_methods[] = {
0 commit comments