[Python-ideas] Deprecating rarely used str methods

Serhiy Storchaka storchaka at gmail.com
Fri Aug 9 21:34:03 CEST 2013


08.08.13 22:16, M.-A. Lemburg написав(ла):
> I don't think any of the .format() alternatives you listed is
> anywhere near as obvious as the methods :-)

I confess that I be forced to look into documentation to write these 
examples. ;-)  It's because I don't use new style formatting very often. 
However C-style alternatives looks enough obvious to me.

> If you have you ever typed on a keyboard with shift lock enabled,
> you'd know what it's needed for ;-)

Are .swapcase() swaps ";" and ":"? Or "q" and "й" (on my computers I use 
CapsLock to switch keyboard layout between English and Ukrainian)? ;-)




More information about the Python-ideas mailing list