Skip to content

Commit e61a087

Browse files
committed
Adjust tempfile doc to match feedback
1 parent d58bcc1 commit e61a087

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/tempfile.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ The module defines the following user-callable items:
256256

257257
The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.
258258

259-
Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible for closing
260-
and deleting the temporary file (by e.g. using :func:`os.close` and
261-
:func:`os.remove`) when done with it.
259+
Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible
260+
for closing the file descriptor (for example, using :func:`os.close`) and
261+
deleting the temporary file (for example, using :func:`os.remove`).
262262

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

0 commit comments

Comments
 (0)