bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)

(cherry picked from commit 53ecf9e08d)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-02-25 03:34:15 -08:00 committed by GitHub
parent 763e23e11e
commit b7f6e8e135
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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