Hi,

I read many people saying that
   "{0} {1}".format('Hello', 'World')
is easiert to read than
   "%s %s" % ('Hello', 'World')


But for me it looks to be more complex: we have to maintain indexes (0, 1, 
2, ...), marker is different ({0} != {1}), etc.


I didn't read the PEP nor all email discussions. So can you tell me if it 
would be possible to write simply:
   "{} {}".format('Hello', 'World')


Victor Stinner aka haypo
http://hachoir.org/
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to