From b7f6e8e13574aaa69d132ea67d7a515bf257a0cb Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 25 Feb 2022 03:34:15 -0800 Subject: [PATCH] bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) (cherry picked from commit 53ecf9e08d35801807daf74492c090a325f995b7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> --- Doc/library/tempfile.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 915489fadd40..6bd7d003f529 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 -- 2.47.3