mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Default waittime in the eventloop is now None. At low level it will then be set to GetCaretTime().
This commit is contained in:
parent
53ebe562f5
commit
e5c9474f0f
2 changed files with 10 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ class Application(FrameWork.Application):
|
|||
# map certain F key codes to equivalent command-letter combos (JJS)
|
||||
self.fkeymaps = {122:"z", 120:"x", 99:"c", 118:"v"}
|
||||
|
||||
def mainloop(self, mask=FrameWork.everyEvent, wait=0):
|
||||
def mainloop(self, mask=FrameWork.everyEvent, wait=None):
|
||||
import W
|
||||
self.quitting = 0
|
||||
saveyield = MacOS.EnableAppswitch(-1)
|
||||
|
|
@ -44,7 +44,7 @@ class Application(FrameWork.Application):
|
|||
finally:
|
||||
MacOS.EnableAppswitch(1)
|
||||
|
||||
def debugger_mainloop(self, mask=FrameWork.everyEvent, wait=0):
|
||||
def debugger_mainloop(self, mask=FrameWork.everyEvent, wait=None):
|
||||
import W
|
||||
self.debugger_quitting = 0
|
||||
saveyield = MacOS.EnableAppswitch(-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue