diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2023-12-04 06:36:40 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 06:36:40 (GMT) |
| commit | e5b0db0315941b968ebcc2414bfcdd2da44fd3c2 (patch) | |
| tree | b5057747f6a695b5e1033ccce765e63d5ab5a077 /Lib/idlelib/help.py | |
| parent | 5a1b5316af648ae79bb91f28253b6272bbbd2886 (diff) | |
| download | cpython-e5b0db0315941b968ebcc2414bfcdd2da44fd3c2.zip cpython-e5b0db0315941b968ebcc2414bfcdd2da44fd3c2.tar.gz cpython-e5b0db0315941b968ebcc2414bfcdd2da44fd3c2.tar.bz2 | |
gh-66819: More IDLE htest updates(4) (#112686)
Mostly double spacing before 'if __name__...'.
Diffstat (limited to 'Lib/idlelib/help.py')
| -rw-r--r-- | Lib/idlelib/help.py | 2 |
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) |
