Skip to content

Commit 5cb0e22

Browse files
committed
Simplifying changes in tempfile.rst file regarding fork/exec explanation
1 parent fae61fc commit 5cb0e22

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Doc/library/tempfile.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,7 @@ The module defines the following user-callable items:
227227
platform uses permission bits to indicate whether a file is executable,
228228
the file is executable by no one.
229229

230-
The file descriptor is not inherited by child processes across
231-
:func:`exec <os.execl>` calls, but will be inherited by child
232-
processes created via :func:`os.fork`. See :ref:`fd_inheritance`
233-
for more information.
230+
The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.
234231

235232
Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible
236233
for deleting the temporary file when done with it.

0 commit comments

Comments
 (0)