A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023373.html below:

[Python-Dev] (no subject)

[Python-Dev] (no subject) [Python-Dev] (no subject)Guido van Rossum guido@python.org
Thu, 18 Apr 2002 13:40:14 -0400
> Me too. But what about:
> 
> "oofoo".strip("foo") => ""
> "oofoo".strip(["foo", "bar"]) => "oo"
> 
> I.e., strip could accept *any* sequence (rather than just a string) as its
> optional parameter, and strip all occurrences of any item in that sequence.
> 
> More flexible, but I can't think of a good use case, to be honest.

That's why I'm going to call YAGNI on it.

--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