Skip to content

Commit b7f6e8e

Browse files
bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)
(cherry picked from commit 53ecf9e) Co-authored-by: slateny <[email protected]>
1 parent 763e23e commit b7f6e8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/tempfile.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ The module defines the following user-callable items:
6262
The :py:data:`os.O_TMPFILE` flag is used if it is available and works
6363
(Linux-specific, requires Linux kernel 3.11 or later).
6464

65+
On platforms that are neither Posix nor Cygwin, TemporaryFile is an alias
66+
for NamedTemporaryFile.
67+
6568
.. audit-event:: tempfile.mkstemp fullpath tempfile.TemporaryFile
6669

6770
.. versionchanged:: 3.5

0 commit comments

Comments
 (0)