[Python-Dev] transitioning from % to {} formatting

Michael Foord fuzzyman at voidspace.org.uk
Tue Oct 6 00:23:39 CEST 2009


Benjamin Peterson wrote:
> 2009/10/5 Nick Coghlan <ncoghlan at gmail.com>:
>   
>> So I would agree that method invocation on literals (particularly string
>> literals) is an already established language idiom.
>>     
>
> And who hasn't ever used 4.56.as_integer_ratio()? :)
>
>
>
>   
I've tried 4.__add__ a few times (not for a while now though).

Michael

-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog




More information about the Python-Dev mailing list