[Python-3000] Proposed changes to PEP3101 advanced string formatting -- please discuss and vote!
Aahz
aahz at pythoncraft.com
Tue Apr 3 21:08:48 CEST 2007
[Taking the first day of Pesach as vacation gives me time to respond to
some old threads]
On Wed, Mar 14, 2007, Patrick Maupin wrote:
> On 3/14/07, Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>> I detest the name 'flag_format', though - the function doesn't format a
>> flag!
>
> I don't like it that much myself, either. I considered
> "extended_format" and a few others, but wasn't happy with any of them.
> Name suggestions are certainly welcome.
Why not just string.format()? There's precedence for module-level
functions to have a different API from a method.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Need a book? Use your library!
More information about the Python-3000
mailing list