summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/mainloop.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-stdwin/mainloop.py')
-rw-r--r--Lib/lib-stdwin/mainloop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/mainloop.py b/Lib/lib-stdwin/mainloop.py
index ab8ad3a..f1fe617 100644
--- a/Lib/lib-stdwin/mainloop.py
+++ b/Lib/lib-stdwin/mainloop.py
@@ -23,7 +23,7 @@ last_window = None
def register(win):
# First test the dispatch function by passing it a null event --
# this catches registration of unconforming windows.
- win.dispatch(WE_NULL, win, None)
+ win.dispatch((WE_NULL, win, None))
if win not in windows:
windows.append(win)