Python Forum

Full Version: If Python 2.x source code and applies a transform it into valid Python 3.x code.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have changed between the versions, showing how to change from Python 2-style to Python 3.1-style.

I'm getting a SyntaxError on a file that was generated by the system itself Django/config/_init_.py.
Please show offending code.