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/2003-June/036448.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Objectslistobject.c,2.153,2.154

[Python-Dev] Re: [Python-checkins] python/dist/src/Objectslistobject.c,2.153,2.154Guido van Rossum guido@python.org
Tue, 17 Jun 2003 10:44:47 -0400
> While overall I think the idea is worthwhile, I have two concerns:
>  * the doc wasn't updated

Beta 2 hasn't been released yet; Raymond still has time to fix this.

>  * negative indices are handled differently:
> 
>         >>> 'abc'.split().index('a', -3)
>         Traceback (most recent call last):
>           File "<stdin>", line 1, in ?
>         ValueError: list.index(x): x not in list
>         >>> 'abc'.index('a', -3)
>         0

Do a CVS up and try again. ;-)

--Guido van Rossum (home page: http://www.python.org/~guido/)



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