diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-12-28 09:23:09 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-12-28 09:23:09 (GMT) |
commit | 5b26abb37adc6640bb5cb10cf196f59e77ba05e0 (patch) | |
tree | 4d994645e2804c679eb7ee25c789df6641762079 /Lib/pydoc.py | |
parent | 276a8f3b80efda91020a8daa1ad2f15b998083d9 (diff) | |
download | cpython-5b26abb37adc6640bb5cb10cf196f59e77ba05e0.zip cpython-5b26abb37adc6640bb5cb10cf196f59e77ba05e0.tar.gz cpython-5b26abb37adc6640bb5cb10cf196f59e77ba05e0.tar.bz2 |
Gracefully delay runtime error up to 1s. Add .willdispatch().
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index fe66334..9179721 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -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( |