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 f574081 commit 090d058Copy full SHA for 090d058
Doc/library/tempfile.rst
@@ -228,8 +228,11 @@ The module defines the following user-callable items:
228
the file is executable by no one.
229
230
The file descriptor is not inherited by child processes across
231
- :func:`exec <os.execl>` calls.
232
-
+ :func:`exec <os.execl>` calls, but will be inherited by child
+ processes created via :func:`os.fork`. See
233
+ `File Descriptor Inheritance <https://docs.python.org/dev/library/os.html#fd-inheritance>`_
234
+ for more information.
235
+
236
Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible
237
for deleting the temporary file when done with it.
238
0 commit comments