Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Doc/library/tempfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ The module defines the following user-callable items:
The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.

Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible
for deleting the temporary file when done with it.
for closing the file descriptor (for example, using :func:`os.close`) and
deleting the temporary file (for example, using :func:`os.remove`).

If *suffix* is not ``None``, the file name will end with that suffix,
otherwise there will be no suffix. :func:`mkstemp` does not put a dot
Expand Down
Loading