From 188aedf8bb623d41302e10503268b0852ea91134 Mon Sep 17 00:00:00 2001 From: terryjreedy Date: Tue, 13 Jun 2017 21:32:16 -0400 Subject: 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. --- Lib/idlelib/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/help.py') diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py index 77e01a31c0..fa6112a339 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." -- cgit v1.2.1