]> granicus.if.org Git - python/commit
Accept None as start and stop parameters for list.index() and tuple.index()
authorPetri Lehtinen <petri@digip.org>
Sat, 5 Nov 2011 21:18:06 +0000 (23:18 +0200)
committerPetri Lehtinen <petri@digip.org>
Sat, 5 Nov 2011 21:18:06 +0000 (23:18 +0200)
commit819d8d447da7e2a8530574af2a7574fdc011b0c2
tree7fd8113792e02e355b4913e82cb4b6cf532504b9
parent972ba9e41f457007570b3de0a54e934881c7281e
Accept None as start and stop parameters for list.index() and tuple.index()

Closes #13340.
Lib/test/list_tests.py
Lib/test/seq_tests.py
Misc/NEWS
Objects/listobject.c
Objects/tupleobject.c