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 06:59:19 (GMT)
committerGitHub <noreply@github.com>2023-12-04 06:59:19 (GMT)
commit5ada3e5e91487e010f5377329b9aa12247d77cfb (patch)
treeca76fedb57cf429e3a460c4d4fa220294701bcd1 /Lib/idlelib/help.py
parente347a8e0e3c00ef726ae627686771aadd74fc967 (diff)
downloadcpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.zip
cpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.tar.gz
cpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.tar.bz2
[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)
Mostly double spacing before 'if __name__...'. (cherry picked from commit e5b0db0315941b968ebcc2414bfcdd2da44fd3c2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/help.py')
-rw-r--r--Lib/idlelib/help.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
index 580a327..3cc7e36 100644
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -278,6 +278,7 @@ def copy_strip():
out.write(line.rstrip() + b'\n')
print(f'{src} copied to {dst}')
+
def _helpwindow(parent):
"Create HelpWindow; called from Idle Help event handler."
filename = join(abspath(dirname(__file__)), 'help.html')
@@ -286,6 +287,7 @@ def _helpwindow(parent):
return
HelpWindow(parent, filename, 'IDLE Help (%s)' % python_version())
+
if __name__ == '__main__':
from unittest import main
main('idlelib.idle_test.test_help', verbosity=2, exit=False)