Avoid DeprecationWarning: 'U' mode is deprecated
Python 3.7 began warning about open's 'U' mode. Universal newline mode (newline=None) is default in Python 3 so avoid specifying it on Python 3.
Showing
Python 3.7 began warning about open's 'U' mode. Universal newline mode (newline=None) is default in Python 3 so avoid specifying it on Python 3.
mentioned in commit 20adbdb6
·mentioned in commit 20adbdb6