summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-26 21:39:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-26 21:39:48 (GMT)
commit8c8aa5d666726253b50e460c825ae3935d099c06 (patch)
tree5267e1c5f22040b85b724b8a0f2674641551bb6b /Lib/lib-tk/Tkinter.py
parent94e7bb7dd67ae72ea1184fa7860c9d4c76acb41b (diff)
downloadcpython-8c8aa5d666726253b50e460c825ae3935d099c06.zip
cpython-8c8aa5d666726253b50e460c825ae3935d099c06.tar.gz
cpython-8c8aa5d666726253b50e460c825ae3935d099c06.tar.bz2
Rename want_objects to wantobjects throughout, for consistency.
Diffstat (limited to 'Lib/lib-tk/Tkinter.py')
-rw-r--r--Lib/lib-tk/Tkinter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index f222007..833aad5 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -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)