summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-28 09:23:09 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-28 09:23:09 (GMT)
commit5b26abb37adc6640bb5cb10cf196f59e77ba05e0 (patch)
tree4d994645e2804c679eb7ee25c789df6641762079 /Lib/pydoc.py
parent276a8f3b80efda91020a8daa1ad2f15b998083d9 (diff)
downloadcpython-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-xLib/pydoc.py1
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(