mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
Idlelib.help: add 'b' prefix needed for bytes + bytes.
This commit is contained in:
parent
aa0da864b8
commit
6f5cdfefa1
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ def copy_strip():
|
||||||
with open(src, 'rb') as inn,\
|
with open(src, 'rb') as inn,\
|
||||||
open(dst, 'wb') as out:
|
open(dst, 'wb') as out:
|
||||||
for line in inn:
|
for line in inn:
|
||||||
out.write(line.rstrip() + '\n')
|
out.write(line.rstrip() + b'\n')
|
||||||
print('idle.html copied to help.html')
|
print('idle.html copied to help.html')
|
||||||
|
|
||||||
def show_idlehelp(parent):
|
def show_idlehelp(parent):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue