summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt/evtsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:59:17 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:59:17 (GMT)
commit4fb67f46595e53f8637b8aea2afa5e852f26abc7 (patch)
tree44a005cda5f8108cc58a65b13c3101ea5ceea792 /Mac/Modules/evt/evtsupport.py
parent5bdbabd203488c4ca26696ae6da9e0f7a789326f (diff)
downloadcpython-4fb67f46595e53f8637b8aea2afa5e852f26abc7.zip
cpython-4fb67f46595e53f8637b8aea2afa5e852f26abc7.tar.gz
cpython-4fb67f46595e53f8637b8aea2afa5e852f26abc7.tar.bz2
Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.
Diffstat (limited to 'Mac/Modules/evt/evtsupport.py')
-rw-r--r--Mac/Modules/evt/evtsupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py
index d4fb595..7725ded 100644
--- a/Mac/Modules/evt/evtsupport.py
+++ b/Mac/Modules/evt/evtsupport.py
@@ -79,7 +79,7 @@ EventRecord theEvent;
UInt32 sleep;
Handle mouseregion = (Handle)0;
-if (!PyArg_ParseTuple(_args, "hl|O&",
+if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))