[Python-ideas] Deprecating rarely used str methods

Richard Oudkerk shibturn at gmail.com
Fri Aug 9 12:07:32 CEST 2013


On 09/08/2013 2:45am, Steven D'Aprano wrote:
> It's true that, if swapcase were proposed today, it probably wouldn't be
> accepted.

Or it would throw an error on a string of more than one character.  I 
think it is really a "character method" rather than a string method.

-- 
Richard



More information about the Python-ideas mailing list