[issue3004] Bug in slice.indices()

Mark Dickinson report at bugs.python.org
Fri Jun 20 12:01:24 CEST 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

Sorry: looks like I messed up that last post.  The example should be:

>>> slice(10, 10, -1).indices(10)  # expect (9, 9, -1)
(9, 10, -1)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3004>
_______________________________________


More information about the Python-bugs-list mailing list