diff options
author | Georg Brandl <georg@python.org> | 2008-08-04 07:24:52 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-08-04 07:24:52 (GMT) |
commit | 4b26ff83272d4a500da1a4b22403293836ee98ea (patch) | |
tree | db629265502baa68bfac08fd12afa9e815e02986 | |
parent | 18c55d340f896a791bbe6b913b38830969f1dde6 (diff) | |
download | cpython-4b26ff83272d4a500da1a4b22403293836ee98ea.zip cpython-4b26ff83272d4a500da1a4b22403293836ee98ea.tar.gz cpython-4b26ff83272d4a500da1a4b22403293836ee98ea.tar.bz2 |
Undocument deprecated module global "template".
-rw-r--r-- | Doc/library/tempfile.rst | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 69b05ce..11ae9f2 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -207,21 +207,8 @@ the appropriate function arguments, instead. the search described above is performed, and the result returned. -.. data:: template - - .. deprecated:: 2.0 - Use :func:`gettempprefix` 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`. - - .. function:: gettempprefix() Return the filename prefix used to create temporary files. This does not - contain the directory component. Using this function is preferred over reading - the *template* variable directly. + contain the directory component. |