summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt
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
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')
-rw-r--r--Mac/Modules/evt/Evtmodule.c2
-rw-r--r--Mac/Modules/evt/evtsupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/evt/Evtmodule.c b/Mac/Modules/evt/Evtmodule.c
index 093c470..c161c75 100644
--- a/Mac/Modules/evt/Evtmodule.c
+++ b/Mac/Modules/evt/Evtmodule.c
@@ -328,7 +328,7 @@ static PyObject *Evt_WaitNextEvent(_self, _args)
UInt32 sleep;
Handle mouseregion = (Handle)0;
- if (!PyArg_ParseTuple(_args, "hl|O&",
+ if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))
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))