]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)
authorslateny <46876382+slateny@users.noreply.github.com>
Fri, 25 Feb 2022 11:07:52 +0000 (03:07 -0800)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 11:07:52 +0000 (11:07 +0000)
Doc/library/tempfile.rst

index 3e904d04642d80cbbbd91fb5280bd6db0a83b8ed..3184e504884276ad924d6293380d330f27c4af0f 100644 (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