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. (cherry picked from commit 978a6af9)
Showing
Please register or sign in to comment