mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
Changed a comment to end grammar bikeshedding ;-)
This commit is contained in:
parent
367df12044
commit
a577f1e0f1
1 changed files with 1 additions and 1 deletions
|
@ -1061,7 +1061,7 @@ class Thread:
|
||||||
self._wait_for_tstate_lock()
|
self._wait_for_tstate_lock()
|
||||||
else:
|
else:
|
||||||
# the behavior of a negative timeout isn't documented, but
|
# the behavior of a negative timeout isn't documented, but
|
||||||
# historically .join() has acted as if timeout=0 then
|
# historically .join(timeout=x) for x<0 has acted as if timeout=0
|
||||||
self._wait_for_tstate_lock(timeout=max(timeout, 0))
|
self._wait_for_tstate_lock(timeout=max(timeout, 0))
|
||||||
|
|
||||||
def _wait_for_tstate_lock(self, block=True, timeout=-1):
|
def _wait_for_tstate_lock(self, block=True, timeout=-1):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue