summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/help.py')
-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):