diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 03:45:13 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 03:45:13 -0400 |
commit | b0312fe376faa0e135c05fc14f1796a4aae79a85 (patch) | |
tree | 50e38902b0f401eb854c021bace65cb3e7ec6fb4 /Lib/idlelib/help.py | |
parent | b48d967c244b827cef2ccf01217918f8b27819e1 (diff) | |
download | cpython-b0312fe376faa0e135c05fc14f1796a4aae79a85.tar.gz |
Idlelib.help: add 'b' prefix needed for bytes + bytes.
Diffstat (limited to 'Lib/idlelib/help.py')
-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 a134bd8947..731b334a6d 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): |