New-style string formatting (Was: Re: Tuple "detection")

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Tue May 20 19:44:55 EDT 2003


> From: Gerrit Holl [mailto:gerrit at nl.linux.org]
> 
> Alexander Semenov schreef op maandag 19 mei om 22:57:37 +0000:
> > I propose change % to str.__call__()
> 
> Sounds great! Unless we're overlooking something...

Beyond all the other objections (which I agree with BTW) you are overlooking the fact that str.__call__ already has a meaning - it creates a new string object which is composed of the string value of its arguments, usually obtained by calling the __str__ method of the argument.

Tim Delaney





More information about the Python-list mailing list