[Python-checkins] r47021 - in python/trunk/Lib: lib-tk/Tkinter.py test/test_support.py
tim.peters
python-checkins at python.org
Mon Jun 19 09:45:17 CEST 2006
Author: tim.peters
Date: Mon Jun 19 09:45:16 2006
New Revision: 47021
Modified:
python/trunk/Lib/lib-tk/Tkinter.py
python/trunk/Lib/test/test_support.py
Log:
Whitespace normalization.
Modified: python/trunk/Lib/lib-tk/Tkinter.py
==============================================================================
--- python/trunk/Lib/lib-tk/Tkinter.py (original)
+++ python/trunk/Lib/lib-tk/Tkinter.py Mon Jun 19 09:45:16 2006
@@ -170,11 +170,11 @@
_default = ""
def __init__(self, master=None, value=None, name=None):
"""Construct a variable
-
+
MASTER can be given as master widget.
VALUE is an optional value (defaults to "")
NAME is an optional Tcl name (defaults to PY_VARnum).
-
+
If NAME matches an existing variable and VALUE is omitted
then the existing value is retained.
"""
@@ -231,7 +231,7 @@
self._tk.call("trace", "vinfo", self._name)))
def __eq__(self, other):
"""Comparison for equality (==).
-
+
Note: if the Variable's master matters to behavior
also compare self._master == other._master
"""
@@ -247,7 +247,7 @@
MASTER can be given as master widget.
VALUE is an optional value (defaults to "")
NAME is an optional Tcl name (defaults to PY_VARnum).
-
+
If NAME matches an existing variable and VALUE is omitted
then the existing value is retained.
"""
@@ -269,7 +269,7 @@
MASTER can be given as master widget.
VALUE is an optional value (defaults to 0)
NAME is an optional Tcl name (defaults to PY_VARnum).
-
+
If NAME matches an existing variable and VALUE is omitted
then the existing value is retained.
"""
@@ -294,7 +294,7 @@
MASTER can be given as master widget.
VALUE is an optional value (defaults to 0.0)
NAME is an optional Tcl name (defaults to PY_VARnum).
-
+
If NAME matches an existing variable and VALUE is omitted
then the existing value is retained.
"""
@@ -313,7 +313,7 @@
MASTER can be given as master widget.
VALUE is an optional value (defaults to False)
NAME is an optional Tcl name (defaults to PY_VARnum).
-
+
If NAME matches an existing variable and VALUE is omitted
then the existing value is retained.
"""
@@ -1504,7 +1504,7 @@
"""Set bitmap for the iconified widget to BITMAP. Return
the bitmap if None is given.
- Under Windows, the DEFAULT parameter can be used to set the icon
+ Under Windows, the DEFAULT parameter can be used to set the icon
for the widget and any descendents that don't have an icon set
explicitly. DEFAULT can be the relative path to a .ico file
(example: root.iconbitmap(default='myicon.ico') ). See Tk
Modified: python/trunk/Lib/test/test_support.py
==============================================================================
--- python/trunk/Lib/test/test_support.py (original)
+++ python/trunk/Lib/test/test_support.py Mon Jun 19 09:45:16 2006
@@ -475,4 +475,3 @@
while len(threading._limbo) != num_limbo and count < _MAX_COUNT:
count += 1
time.sleep(0.1)
-
More information about the Python-checkins
mailing list