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

This commit is contained in:
Terry Jan Reedy 2015-09-23 03:45:13 -04:00
parent aa0da864b8
commit 6f5cdfefa1

View file

@ -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):