Skip to content

Commit

Permalink
bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin syste…
Browse files Browse the repository at this point in the history
…ms (GH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
  • Loading branch information
miss-islington and slateny committed Feb 25, 2022
1 parent c7a0fd2 commit 632a812
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/library/tempfile.rst
Expand Up @@ -62,6 +62,9 @@ The module defines the following user-callable items:
The :py:data:`os.O_TMPFILE` flag is used if it is available and works
(Linux-specific, requires Linux kernel 3.11 or later).

On platforms that are neither Posix nor Cygwin, TemporaryFile is an alias
for NamedTemporaryFile.

.. audit-event:: tempfile.mkstemp fullpath tempfile.TemporaryFile

.. versionchanged:: 3.5
Expand Down

0 comments on commit 632a812

Please sign in to comment.