Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: Fix building with Python 3.9
open(), io.open(), codecs.open() and fileinput.FileInput no longer accept 'U' ("universal newline") in the file mode. This flag was deprecated since Python 3.3. In Python 3, the "universal newline" is used by default when a file is open in text mode. Acked-by: Flavio Leitner <[email protected]> Reported-at: https://bugzilla.redhat.com/1791681 Reported-by: Miro Hrončok <[email protected]> Signed-off-by: Timothy Redaelli <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information