summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslateny <46876382+slateny@users.noreply.github.com>2022-02-25 11:07:52 (GMT)
committerGitHub <noreply@github.com>2022-02-25 11:07:52 (GMT)
commit53ecf9e08d35801807daf74492c090a325f995b7 (patch)
tree29ba52cd67d72b4c61dfda9fdd6627e59e6bbc26
parent2c228a7b8f89e9ed8d390370abd771d4993b79d8 (diff)
downloadcpython-53ecf9e08d35801807daf74492c090a325f995b7.zip
cpython-53ecf9e08d35801807daf74492c090a325f995b7.tar.gz
cpython-53ecf9e08d35801807daf74492c090a325f995b7.tar.bz2
bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)
-rw-r--r--Doc/library/tempfile.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index 3e904d0..3184e50 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -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