Commit 30bc7d9a authored by Terry Jan Reedy's avatar Terry Jan Reedy

Idlelib.help: add 'b' prefix needed for bytes + bytes.

parent daa8f7b2
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment