diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 07:45:13 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 07:45:13 (GMT) |
commit | 6f5cdfefa10e89e57c26ddf358bacd044eb7cfc6 (patch) | |
tree | 5ff024673483a65a90b1bd1025d783089abb99db | |
parent | aa0da864b874afb8c1cbad5614a6242349f0fe21 (diff) | |
download | cpython-6f5cdfefa10e89e57c26ddf358bacd044eb7cfc6.zip cpython-6f5cdfefa10e89e57c26ddf358bacd044eb7cfc6.tar.gz cpython-6f5cdfefa10e89e57c26ddf358bacd044eb7cfc6.tar.bz2 |
Idlelib.help: add 'b' prefix needed for bytes + bytes.
-rw-r--r-- | Lib/idlelib/help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py index a134bd8..731b334 100644 --- a/Lib/idlelib/help.py +++ b/Lib/idlelib/help.py @@ -234,7 +234,7 @@ def copy_strip(): with open(src, 'rb') as inn,\ open(dst, 'wb') as out: for line in inn: - out.write(line.rstrip() + '\n') + out.write(line.rstrip() + b'\n') print('idle.html copied to help.html') def show_idlehelp(parent): |