Kaydet (Commit) 4f515581 authored tarafından Fred Drake's avatar Fred Drake

Mark TMPDIR correctly.

üst 0c4d947e
...@@ -26,12 +26,11 @@ are initialized at the first call to \function{mktemp()}. ...@@ -26,12 +26,11 @@ are initialized at the first call to \function{mktemp()}.
\begin{datadesc}{tempdir} \begin{datadesc}{tempdir}
When set to a value other than \code{None}, this variable defines the When set to a value other than \code{None}, this variable defines the
directory in which filenames returned by \function{mktemp()} reside. directory in which filenames returned by \function{mktemp()} reside.
The default is taken from the environment variable \code{TMPDIR}; if The default is taken from the environment variable \envvar{TMPDIR}; if
this is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the this is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the
current working directory (all other systems). No check is made to current working directory (all other systems). No check is made to
see whether its value is valid. see whether its value is valid.
\end{datadesc} \end{datadesc}
\ttindex{TMPDIR}
\begin{datadesc}{template} \begin{datadesc}{template}
When set to a value other than \code{None}, this variable defines the When set to a value other than \code{None}, this variable defines the
......
...@@ -26,12 +26,11 @@ are initialized at the first call to \function{mktemp()}. ...@@ -26,12 +26,11 @@ are initialized at the first call to \function{mktemp()}.
\begin{datadesc}{tempdir} \begin{datadesc}{tempdir}
When set to a value other than \code{None}, this variable defines the When set to a value other than \code{None}, this variable defines the
directory in which filenames returned by \function{mktemp()} reside. directory in which filenames returned by \function{mktemp()} reside.
The default is taken from the environment variable \code{TMPDIR}; if The default is taken from the environment variable \envvar{TMPDIR}; if
this is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the this is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the
current working directory (all other systems). No check is made to current working directory (all other systems). No check is made to
see whether its value is valid. see whether its value is valid.
\end{datadesc} \end{datadesc}
\ttindex{TMPDIR}
\begin{datadesc}{template} \begin{datadesc}{template}
When set to a value other than \code{None}, this variable defines the When set to a value other than \code{None}, this variable defines the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment