A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/078025.html below:

__sub__ for string

__sub__ for string __sub__ for stringRikard Bosnjakovic bos at hack.org
Fri Apr 13 05:26:43 EDT 2001
Fredrik Lundh wrote:

> you mean "if self.data.endswith(other): return self.data[-len(other):]",
> don't you?

That would probably be the most obvious at first glance. But no, I
mean(t) remove all occurences of other.


I get your point though.

	(a + b) - b == a

that won't occur if I do it my way.   Oh well, just a though.


-- 
Rikard Bosnjakovic - http://bos.hack.org/cv/ - ICQ: 1158217

Anyone sending unwanted advertising e-mail to my address will be
charged $250 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.

More information about the Python-list 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