mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Gracefully delay runtime error up to 1s. Add .willdispatch().
This commit is contained in:
parent
276a8f3b80
commit
5b26abb37a
2 changed files with 32 additions and 12 deletions
|
@ -1919,6 +1919,7 @@ def gui():
|
|||
self.expanded = 0
|
||||
self.window.wm_geometry('%dx%d' % (self.minwidth, self.minheight))
|
||||
self.window.wm_minsize(self.minwidth, self.minheight)
|
||||
self.window.tk.willdispatch()
|
||||
|
||||
import threading
|
||||
threading.Thread(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue