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 aaa8378 commit dc2d578Copy full SHA for dc2d578
1 file changed
Lib/multiprocessing/resource_tracker.py
@@ -83,8 +83,8 @@ def __del__(self):
83
84
def _stop(self, close=os.close, waitpid=os.waitpid, waitstatus_to_exitcode=os.waitstatus_to_exitcode):
85
with self._lock:
86
- # This should not happen (_stop() isn't called by a finalizer)
87
- # but we check for it anyway.
+ # This shouldn't happen (it might when called by a finalizer)
+ # so we check for it anyway.
88
if self._lock._recursion_count() > 1:
89
return self._reentrant_call_error()
90
if self._fd is None:
0 commit comments