summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/help.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-04 05:10:19 (GMT)
committerGitHub <noreply@github.com>2023-12-04 05:10:19 (GMT)
commit55a4bb99fc4ba85ad7fe2ca5ac99718eace20641 (patch)
treec8f89d02cf3f8690f48d13735b001981c6e2488c /Lib/idlelib/help.py
parentda73a5cc27da0340d728d37b50623e644885f9d5 (diff)
downloadcpython-55a4bb99fc4ba85ad7fe2ca5ac99718eace20641.zip
cpython-55a4bb99fc4ba85ad7fe2ca5ac99718eace20641.tar.gz
cpython-55a4bb99fc4ba85ad7fe2ca5ac99718eace20641.tar.bz2
[3.12] gh-66819: More IDLE htest updates(3) (GH-112683) (#112684)
Revise spec-callable pairs from percolator to end. (cherry picked from commit 5a1b5316af648ae79bb91f28253b6272bbbd2886) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/help.py')
-rw-r--r--Lib/idlelib/help.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index cc027b9..580a327 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -278,7 +278,7 @@ def copy_strip():
out.write(line.rstrip() + b'\n')
print(f'{src} copied to {dst}')
-def show_idlehelp(parent):
+def _helpwindow(parent):
"Create HelpWindow; called from Idle Help event handler."
filename = join(abspath(dirname(__file__)), 'help.html')
if not isfile(filename):
@@ -291,4 +291,4 @@ if __name__ == '__main__':
main('idlelib.idle_test.test_help', verbosity=2, exit=False)
from idlelib.idle_test.htest import run
- run(show_idlehelp)
+ run(_helpwindow)