We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367df12 commit a577f1eCopy full SHA for a577f1e
1 file changed
Lib/threading.py
@@ -1061,7 +1061,7 @@ def join(self, timeout=None):
1061
self._wait_for_tstate_lock()
1062
else:
1063
# the behavior of a negative timeout isn't documented, but
1064
- # historically .join() has acted as if timeout=0 then
+ # historically .join(timeout=x) for x<0 has acted as if timeout=0
1065
self._wait_for_tstate_lock(timeout=max(timeout, 0))
1066
1067
def _wait_for_tstate_lock(self, block=True, timeout=-1):
0 commit comments