mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Clean up EditorWindow close.
This commit is contained in:
parent
85897c9b38
commit
0b634efcbc
3 changed files with 19 additions and 14 deletions
|
@ -50,7 +50,7 @@ class FileList:
|
|||
break
|
||||
return "break"
|
||||
|
||||
def close_edit(self, edit):
|
||||
def unregister_maybe_terminate(self, edit):
|
||||
try:
|
||||
key = self.inversedict[edit]
|
||||
except KeyError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue