[Python-ideas] String Subtraction (original) (raw)
spir denis.spir at gmail.com
Fri Oct 15 00:16:18 CEST 2010
- Previous message: [Python-ideas] String Subtraction
- Next message: [Python-ideas] String Subtraction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-ideas] String Subtraction
- Next message: [Python-ideas] String Subtraction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]