summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/help.py
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-14 01:32:16 (GMT)
committerGitHub <noreply@github.com>2017-06-14 01:32:16 (GMT)
commit188aedf8bb623d41302e10503268b0852ea91134 (patch)
treef952fe1c581016248917d03f6e6cda1c87fb26fc /Lib/idlelib/help.py
parent8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9 (diff)
downloadcpython-188aedf8bb623d41302e10503268b0852ea91134.zip
cpython-188aedf8bb623d41302e10503268b0852ea91134.tar.gz
cpython-188aedf8bb623d41302e10503268b0852ea91134.tar.bz2
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.
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 77e01a3..fa6112a 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -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."