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

Skip to content
Merged
Prev Previous commit
Next Next commit
CLN improve docstring for _check_alive in semaphore_tracker
Co-Authored-By: tomMoral <[email protected]>
  • Loading branch information
ZackerySpytz and tomMoral authored Apr 11, 2019
commit cbfefd1cf81e71cc809cc8ab3e2251fee9047f9d
2 changes: 1 addition & 1 deletion Lib/multiprocessing/semaphore_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def ensure_running(self):
os.close(r)

def _check_alive(self):
'''Check for that the pipe has not been closed by sending a probe.'''
'''Check that the pipe has not been closed by sending a probe.'''
try:
# We cannot use send here as it calls ensure_running, creating
# a cycle.
Expand Down