summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-19 07:45:16 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-06-19 07:45:16 (GMT)
commit43bc3788c0333b5d6230a5a28885b2fa70b42a86 (patch)
tree038df4517b81cb8e3229889e2f8c5c3b2746ff90
parent0b465702e625b3bce8de7c356fe2ff6cb47d165c (diff)
downloadcpython-43bc3788c0333b5d6230a5a28885b2fa70b42a86.zip
cpython-43bc3788c0333b5d6230a5a28885b2fa70b42a86.tar.gz
cpython-43bc3788c0333b5d6230a5a28885b2fa70b42a86.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/lib-tk/Tkinter.py16
-rw-r--r--Lib/test/test_support.py1
2 files changed, 8 insertions, 9 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index badc40a..a69d4db 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -170,11 +170,11 @@ class Variable:
_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 @@ class Variable:
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 @@ class StringVar(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.
"""
@@ -269,7 +269,7 @@ class IntVar(Variable):
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 @@ class DoubleVar(Variable):
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 @@ class BooleanVar(Variable):
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 @@ class Wm:
"""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
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 2a74938..8e31549 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -475,4 +475,3 @@ def threading_cleanup(num_active, num_limbo):
while len(threading._limbo) != num_limbo and count < _MAX_COUNT:
count += 1
time.sleep(0.1)
-