Accept None as start and stop parameters for list.index() and tuple.index().
authorPetri Lehtinen <petri@digip.org>
Sat, 5 Nov 2011 21:23:17 +0000 (23:23 +0200)
committerPetri Lehtinen <petri@digip.org>
Sat, 5 Nov 2011 21:25:34 +0000 (23:25 +0200)
Closes #13340.

1  2 
Lib/test/list_tests.py
Misc/NEWS
Objects/listobject.c
Objects/tupleobject.c

Simple merge
diff --cc Misc/NEWS
index 06551c05b47bef57f73321ce5178a14bd42931a6,720fef3f7c570bfd3433c650d154863bab080129..1c81e321dfadc55c860da8ba0c6bfbc1ecd75c61
+++ b/Misc/NEWS
@@@ -10,8 -10,9 +10,11 @@@ What's New in Python 3.3 Alpha 1
  Core and Builtins
  -----------------
  
+ - Issue #13340: Accept None as start and stop parameters for
+   list.index() and tuple.index().
 +- Issue #9896: Add start, stop, and step attributes to range objects.
 +
  - Issue #13343: Fix a SystemError when a lambda expression uses a global
    variable in the default value of a keyword-only argument:
    (lambda *, arg=GLOBAL_NAME: None)
Simple merge
Simple merge