mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Calling Application._quit() is now preferred over raising self.
This commit is contained in:
parent
4cb945454a
commit
ef5cd05c3d
11 changed files with 14 additions and 20 deletions
|
@ -295,7 +295,7 @@ class Ped(Application):
|
|||
w.close()
|
||||
if self._windows:
|
||||
return
|
||||
raise self
|
||||
self._quit()
|
||||
|
||||
#
|
||||
# Edit menu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue