> Is there a tool available that can convert 2.x code automagically > to the .format() method syntax ? > > Just did a quick grep of our code base and it has some 2000 lines of code > that would need to be changed.
Why do you think this code needs to change? I'd leave all the code as-is, and might not start using .format before Python 3.2, unless some coding convention says I have to. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com