[Python-ideas] String Subtraction

spir denis.spir at gmail.com
Fri Oct 15 00:16:18 CEST 2010


On Thu, 14 Oct 2010 17:23:11 -0400
Mike Meyer <mwm-keyword-python.b4bdba at mired.org> wrote:

> The problem isn't that it's non-intuitive (there's only one intuitive
> interface, and it's got nothing to do with computers), it's that there
> are a wealth of "intuitive" meanings.

Maybe have string.erase(sub,n) be a "more intuitive" shortcut for string.replace(sub,'',n)?

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com




More information about the Python-ideas mailing list