[Python-Dev] None as slice params to list.index() and tuple.index()
Robert Collins
robertc at robertcollins.net
Sun Nov 6 20:39:22 CET 2011
More information about the Python-Dev mailing list
Sun Nov 6 20:39:22 CET 2011
- Previous message: [Python-Dev] None as slice params to list.index() and tuple.index()
- Next message: [Python-Dev] None as slice params to list.index() and tuple.index()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 7, 2011 at 8:16 AM, Antoine Pitrou <solipsis at pitrou.net> wrote: > Either that or fix the error message. I can't find much benefit in > accepting None, that said (nor in refusing it). Its very convenient when working with slices to not have to special case the end points. +1 on accepting None, FWIW. -Rob
- Previous message: [Python-Dev] None as slice params to list.index() and tuple.index()
- Next message: [Python-Dev] None as slice params to list.index() and tuple.index()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list