[docs] [issue28197] range.index mismatch with documentation
Raymond Hettinger
report at bugs.python.org
Sun Sep 18 23:52:52 EDT 2016
Raymond Hettinger added the comment:
> These broke some concrete Sequence implementations.
Poor choice of words. The concrete implementations didn't change at all.
Perhaps the concrete implementation need to be brought more in-sync with the ABC. That would be reasonable; afteralll the goal is substitutability -- that is the only reason that the old xrange morphed into something with nearly useless count() and index() methods in the first place.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28197>
_______________________________________
More information about the docs
mailing list