mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Rename want_objects to wantobjects throughout, for consistency.
This commit is contained in:
parent
94e7bb7dd6
commit
8c8aa5d666
4 changed files with 14 additions and 14 deletions
|
@ -45,7 +45,7 @@ try:
|
|||
except ImportError:
|
||||
_MacOS = None
|
||||
|
||||
want_objects = 1
|
||||
wantobjects = 1
|
||||
|
||||
TkVersion = float(_tkinter.TK_VERSION)
|
||||
TclVersion = float(_tkinter.TCL_VERSION)
|
||||
|
@ -1523,7 +1523,7 @@ class Tk(Misc, Wm):
|
|||
if ext not in ('.py', '.pyc', '.pyo'):
|
||||
baseName = baseName + ext
|
||||
self.tk = _tkinter.create(screenName, baseName, className)
|
||||
self.tk.wantobjects(want_objects)
|
||||
self.tk.wantobjects(wantobjects)
|
||||
if _MacOS and hasattr(_MacOS, 'SchedParams'):
|
||||
# Disable event scanning except for Command-Period
|
||||
_MacOS.SchedParams(1, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue