mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
WaitNextEvent short vs. unsigned short fix.
This commit is contained in:
parent
d7b6ed268e
commit
19f273c7b6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def main():
|
||||||
|
|
||||||
done = 0
|
done = 0
|
||||||
while not done:
|
while not done:
|
||||||
gotone, evt = Evt.WaitNextEvent(-1, 0)
|
gotone, evt = Evt.WaitNextEvent(0xffff, 0)
|
||||||
(what, message, when, where, modifiers) = evt
|
(what, message, when, where, modifiers) = evt
|
||||||
## print what, message, when, where, modifiers # XXXX
|
## print what, message, when, where, modifiers # XXXX
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue