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.
2 parents 9847342 + dc2d578 commit 58b137aCopy full SHA for 58b137a
1 file changed
Lib/multiprocessing/resource_tracker.py
@@ -91,8 +91,8 @@ def _stop(self, use_blocking_lock=True):
91
self._lock.release()
92
93
def _cleanup(self, close=os.close, waitpid=os.waitpid, waitstatus_to_exitcode=os.waitstatus_to_exitcode):
94
- # This should not happen (_stop() isn't called by a finalizer)
95
- # but we check for it anyway.
+ # This shouldn't happen (it might when called by a finalizer)
+ # so we check for it anyway.
96
if self._lock._recursion_count() > 1:
97
return self._reentrant_call_error()
98
if self._fd is None:
0 commit comments