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

Copy and paste error. That should be:

>>> 'pi={:{fmt}} e={:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f')
'pi=3.1415 e=2.7183'

----------

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

Reply via email to