[Python-ideas] string.format() default variable assignment

김용빈 kybinz at gmail.com
Fri Mar 1 17:55:22 CET 2013

why we bother with '{variable}'.format(variable=variable) ?
can we just '{variable}.format()' ?

if variable is exist, then assign it.
if variable is not exist, then raise error

I am not language expert. so sorry if this is not a good idea, or already
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130302/0fa22947/attachment.html>

More information about the Python-ideas mailing list