mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.11] gh-66819: More IDLE htest updates(3) (GH-112683) (#112685)
Revise spec-callable pairs from percolator to end.
(cherry picked from commit 5a1b5316af
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
73411ea95e
commit
e347a8e0e3
6 changed files with 27 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue