Movatterモバイル変換
[0]ホーム
__sub__ for string
Rikard Bosnjakovicbos 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, Imean(t) remove all occurences of other.I get your point though.(a + b) - b == athat won't occur if I do it my way. Oh well, just a though.-- Rikard Bosnjakovic -http://bos.hack.org/cv/ - ICQ: 1158217Anyone sending unwanted advertising e-mail to my address will becharged $250 for network traffic and computing time. By extracting myaddress from this message or its header, you agree to these terms.
More information about the Python-listmailing list
[8]ページ先頭