
Sept. 21, 2016
3:13 p.m.
Raymond Hettinger added the comment:
I'd argue that range can implement the 3-arg .index much better than generic Sequence.
Yes, the range index() method should implement all three arguments. That shouldn't be difficult. ---------- assignee: docs@python -> type: behavior -> enhancement versions: -Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue28197> _______________________________________