Description
Updates Python source code to use syntax supported by newer Python versions. It helps maintainers modernize projects by rewriting old patterns such as legacy string formatting, outdated imports, or compatibility code.
Run it from the terminal on source files. Because it rewrites code, review diffs and run tests before committing changes, especially in projects that still support older Python versions.