mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
bpo-25514: Improve IDLE's connection refused message (#2177)
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
This commit is contained in:
parent
8f6eeaf21c
commit
188aedf8bb
4 changed files with 119 additions and 35 deletions
|
@ -260,7 +260,7 @@ def copy_strip():
|
|||
open(dst, 'wb') as out:
|
||||
for line in inn:
|
||||
out.write(line.rstrip() + b'\n')
|
||||
print('idle.html copied to help.html')
|
||||
print(f'{src} copied to {dst}')
|
||||
|
||||
def show_idlehelp(parent):
|
||||
"Create HelpWindow; called from Idle Help event handler."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue