Kaydet (Commit) 0eb936b4 authored tarafından Jack Jansen's avatar Jack Jansen

The MacOS module may be available on Mac OS X, but it doesn't have a…

The MacOS module may be available on Mac OS X, but it doesn't have a SchedParams() method, and there's no need to call it anyway.
üst 83b120d6
......@@ -1478,7 +1478,7 @@ class Tk(Misc, Wm):
if ext not in ('.py', '.pyc', '.pyo'):
baseName = baseName + ext
self.tk = _tkinter.create(screenName, baseName, className)
if _MacOS:
if _MacOS and hasattr(MacOS, 'SchedParams'):
# Disable event scanning except for Command-Period
_MacOS.SchedParams(1, 0)
# Work around nasty MacTk bug
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment