summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-09 19:04:26 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-09 19:04:26 (GMT)
commit5a43e1a90c46de34d11100f2e9dff19df6dc1e7c (patch)
tree91e91cfa02f9fc8a016d4a1305cd2852f9a30c45
parentaa2a7a4ae669a3fa6331b29429f6cf29b04dde91 (diff)
downloadcpython-5a43e1a90c46de34d11100f2e9dff19df6dc1e7c.zip
cpython-5a43e1a90c46de34d11100f2e9dff19df6dc1e7c.tar.gz
cpython-5a43e1a90c46de34d11100f2e9dff19df6dc1e7c.tar.bz2
Get rid of tabnanny's last complaints.
-rw-r--r--Lib/threading.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 3b4b6b1..767df45 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -320,7 +320,7 @@ class Thread(_Verbose):
def __init__(self, group=None, target=None, name=None,
args=(), kwargs={}, verbose=None):
- assert group is None, "group argument must be None for now"
+ assert group is None, "group argument must be None for now"
_Verbose.__init__(self, verbose)
self.__target = target
self.__name = str(name or _newname())
@@ -404,14 +404,14 @@ class Thread(_Verbose):
def join(self, timeout=None):
assert self.__initialized, "Thread.__init__() not called"
- assert self.__started, "cannot join thread before it is started"
+ assert self.__started, "cannot join thread before it is started"
assert self is not currentThread(), "cannot join current thread"
if __debug__:
if not self.__stopped:
self._note("%s.join(): waiting until thread stops", self)
self.__block.acquire()
if timeout is None:
- while not self.__stopped:
+ while not self.__stopped:
self.__block.wait()
if __debug__:
self._note("%s.join(): thread stopped", self)