This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bup
Recipients bup, docs@python, larry
Date 2018-09-30.03:55:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Unfortunately, it looks like there's no requirement for an abc.Sequence to implement the 3 argument form of seq.index, so I suppose this is technically just a documentation bug...

>>> range(5).index(2, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: index() takes exactly one argument (2 given)

>>> help(range.index)
Help on method_descriptor:

    rangeobject.index(value, [start, [stop]]) -> integer -- return index of value.
    Raise ValueError if the value is not present.
Date User Action Args
2018-09-30 03:55:38bupsetrecipients: + bup, larry, docs@python
2018-09-30 03:55:38bupsetmessageid: <>
2018-09-30 03:55:38buplinkissue34848 messages
2018-09-30 03:55:37bupcreate