Eric Smith <e...@trueblade.com> added the comment:

With this patch, I changed it to "format code", and made it more in line
with Antoine's original suggested message.

I'm okay with "format code" or "formatting code", but if we do use
either of those wordings, we should change the documentation to match.
Not sure if the PEP should be modified. It's slightly out of date anyway.

>>> '{0:x}'.format('')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Unknown format code 'x' for object of type 'str'
>>>

Added file: http://bugs.python.org/file13104/issue5247-1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to