From 5b26abb37adc6640bb5cb10cf196f59e77ba05e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 28 Dec 2002 09:23:09 +0000 Subject: Gracefully delay runtime error up to 1s. Add .willdispatch(). --- Lib/pydoc.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/pydoc.py') diff --git a/Lib/pydoc.py b/Lib/pydoc.py index fe663346e1..9179721c71 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( -- cgit v1.2.1