Template is always "tmp".

This commit is contained in:
Georg Brandl 2008-08-04 07:23:29 +00:00
parent 143de623e7
commit 40df8ecdd5
1 changed files with 1 additions and 2 deletions

View File

@ -233,8 +233,7 @@ the appropriate function arguments, instead.
When set to a value other than ``None``, this variable defines the prefix of the
final component of the filenames returned by :func:`mktemp`. A string of six
random letters and digits is appended to the prefix to make the filename unique.
On Windows, the default prefix is :file:`~T`; on all other systems it is
:file:`tmp`.
The default prefix is :file:`tmp`.
Older versions of this module used to require that ``template`` be set to
``None`` after a call to :func:`os.fork`; this has not been necessary since