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()`.
Open the full topic