summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-23 07:45:33 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-23 07:45:33 (GMT)
commite8509556c396013abb465ffb766162c51164d9b6 (patch)
treed5ec1e28ae0e90e9eb4ce32c8d3b4d38f6c6921f /Lib
parente52c41a714e46ebd78eef212382240bd8828eaf9 (diff)
parent6f5cdfefa10e89e57c26ddf358bacd044eb7cfc6 (diff)
downloadcpython-e8509556c396013abb465ffb766162c51164d9b6.zip
cpython-e8509556c396013abb465ffb766162c51164d9b6.tar.gz
cpython-e8509556c396013abb465ffb766162c51164d9b6.tar.bz2
Merge with 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/help.py2
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):