diff options
author | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2015-11-05 09:08:30 -0600 |
---|---|---|
committer | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2015-11-05 09:08:30 -0600 |
commit | e73d8fbe4151345ab78b69300cdeea5d9b67840b (patch) | |
tree | 662c42c6c6496402b3389fc8fee8ba39f2de26e2 | |
parent | c86685a3fe0ff0b6f813d90677f67a4faf662791 (diff) | |
parent | 925efaea8cbefb6e5a36e3524b6457da0880c520 (diff) | |
download | pep8-e73d8fbe4151345ab78b69300cdeea5d9b67840b.tar.gz |
Merge pull request #459 from haypo/bytes_warn
fix BytesWarning on Python 3
-rwxr-xr-x | pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1171,7 +1171,7 @@ def python_3000_backticks(logical_line): ############################################################################## -if '' == ''.encode(): +if sys.version_info < (3,): # Python 2: implicit encoding. def readlines(filename): """Read the source code.""" |