diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-21 16:32:11 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-21 16:32:11 (GMT) |
commit | 3350b5bfd9be61b6567c60e15387a72ad0166564 (patch) | |
tree | 356b92eb2f9ed8cdbfc97d38e7d5567344b7dcde /Doc/lib/libtempfile.tex | |
parent | 97701b507bceb466a74d587462cfcbdb79d2fa46 (diff) | |
download | cpython-3350b5bfd9be61b6567c60e15387a72ad0166564.zip cpython-3350b5bfd9be61b6567c60e15387a72ad0166564.tar.gz cpython-3350b5bfd9be61b6567c60e15387a72ad0166564.tar.bz2 |
NamedTemporaryFile: clarify behavior based on confusions noted by a
user, and spell out a x-platform use limitation.
Diffstat (limited to 'Doc/lib/libtempfile.tex')
-rw-r--r-- | Doc/lib/libtempfile.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libtempfile.tex b/Doc/lib/libtempfile.tex index c56110d..8bc9b4e 100644 --- a/Doc/lib/libtempfile.tex +++ b/Doc/lib/libtempfile.tex @@ -59,8 +59,11 @@ The \var{dir}, \var{prefix} and \var{suffix} parameters are passed to \optional{, dir}} This function operates exactly as \function{TemporaryFile} does, except that the file is guaranteed to have a visible name in the file -system. That name can be retrieved from the \member{name} member of -the file object. +system (on \UNIX, the directory entry is not unlinked). That name can +be retrieved from the \member{name} member of the file object. Whether +the name can be used to open the file a second time, while the +named temporary file is still open, varies across platforms (it can +be so used on \UNIX; it cannot on Windows NT or later). \versionadded{2.3} \end{funcdesc} |