]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix sloppy index() implementation:
authorGuido van Rossum <guido@python.org>
Tue, 17 Jun 2003 14:25:14 +0000 (14:25 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 17 Jun 2003 14:25:14 +0000 (14:25 +0000)
commit2743d87d7934535f16a0ea062a28c21ea18e5a24
treea900db61838c03a5371be0edb71895078fc17e15
parent77cdeaff556447a980fe8632e8cd010499ade2d0
Fix sloppy index() implementation:
- don't use min() and max()
- interpret negative start/stop argument like negative slice indices
Lib/test/test_types.py
Objects/listobject.c