mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
This commit is contained in:
parent
7a03e2d377
commit
420e2d8e39
2 changed files with 6 additions and 2 deletions
|
@ -170,8 +170,9 @@ class _ComplexBinder:
|
|||
break
|
||||
ishandlerrunning[:] = []
|
||||
# Call all functions in doafterhandler and remove them from list
|
||||
while doafterhandler:
|
||||
doafterhandler.pop()()
|
||||
for f in doafterhandler:
|
||||
f()
|
||||
doafterhandler[:] = []
|
||||
if r:
|
||||
return r
|
||||
return handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue