2to3's Top 3 Automated Syntax Fixes

2to3 automatically converted ubiquitous Python 2 syntax like `print` statements to `print()` functions, `except Exception, e` to `except Exception as e`, and dictionary iteration methods such as `dict.iteritems()` to `dict.items()`.

Sources

Open the full topic