Key Fixers: Text Literals & Python 2.6+ Compatibility

By default, `python-modernize` leverages fixers to modernize Python 2 code, notably handling Unicode literals by not changing them for Python 3.3+ compatibility or by wrapping them with `six.u()` for Python 3.1/3.2, ensuring compatibility with Python 2.6 and newer versions.

Sources

Open the full topic