Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a43e1a

Browse files
committed
Get rid of tabnanny's last complaints.
1 parent aa2a7a4 commit 5a43e1a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/threading.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class Thread(_Verbose):
320320

321321
def __init__(self, group=None, target=None, name=None,
322322
args=(), kwargs={}, verbose=None):
323-
assert group is None, "group argument must be None for now"
323+
assert group is None, "group argument must be None for now"
324324
_Verbose.__init__(self, verbose)
325325
self.__target = target
326326
self.__name = str(name or _newname())
@@ -404,14 +404,14 @@ def __delete(self):
404404

405405
def join(self, timeout=None):
406406
assert self.__initialized, "Thread.__init__() not called"
407-
assert self.__started, "cannot join thread before it is started"
407+
assert self.__started, "cannot join thread before it is started"
408408
assert self is not currentThread(), "cannot join current thread"
409409
if __debug__:
410410
if not self.__stopped:
411411
self._note("%s.join(): waiting until thread stops", self)
412412
self.__block.acquire()
413413
if timeout is None:
414-
while not self.__stopped:
414+
while not self.__stopped:
415415
self.__block.wait()
416416
if __debug__:
417417
self._note("%s.join(): thread stopped", self)

0 commit comments

Comments
 (0)