A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-November/114358.html below:

[Python-Dev] None as slice params to list.index() and tuple.index()

[Python-Dev] None as slice params to list.index() and tuple.index() [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
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4