Skip to content

Commit 546050a

Browse files
committed
:old-man-yells-at-windows:
1 parent b7d3b38 commit 546050a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/resource_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _stop_locked(
148148
waitstatus_to_exitcode=os.waitstatus_to_exitcode,
149149
monotonic=time.monotonic,
150150
sleep=time.sleep,
151-
WNOHANG=os.WNOHANG,
151+
WNOHANG=getattr(os, 'WNOHANG', None),
152152
wait_timeout=None,
153153
):
154154
# This shouldn't happen (it might when called by a finalizer)

0 commit comments

Comments
 (0)