Skip to content

Commit 409349f

Browse files
authored
Update popen_forkserver.py
1 parent c55302b commit 409349f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/multiprocessing/popen_forkserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def _launch(self, process_obj):
5252
# Keep a duplicate of the data pipe's write end as a sentinel of the
5353
# parent process used by the child process.
5454
_parent_w = os.dup(w)
55-
self.finalizer = util.Finalize(self, util.close_fds,
56-
(_parent_w, self.sentinel))._key
55+
self._finalizer = util.Finalize(self, util.close_fds,
56+
(_parent_w, self.sentinel))._key
5757
with open(w, 'wb', closefd=True) as f:
5858
f.write(buf.getbuffer())
5959
self.pid = forkserver.read_signed(self.sentinel)

0 commit comments

Comments
 (0)