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/2008-June/079999.html below:

[Python-Dev] Mini-Pep: An Empty String ABC

[Python-Dev] Mini-Pep: An Empty String ABC [Python-Dev] Mini-Pep: An Empty String ABCRaymond Hettinger python at rcn.com
Tue Jun 3 12:09:09 CEST 2008
From: "Antoine Pitrou" <solipsis at pitrou.net>
> It seems to me that Sequence.index()/count() and String.index()/count() 
> shouldn't have the same semantics.
> In the former case they search for items in the Sequence, in the latter case 
> they search for substrings of the String.

And the same applies to __contains__().


Raymond
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