georg.brandl
2008-08-04 07:24:52 UTC
Author: georg.brandl
Date: Mon Aug 4 09:24:52 2008
New Revision: 65478
Log:
Undocument deprecated module global "template".
Modified:
python/branches/py3k/Doc/library/tempfile.rst
Modified: python/branches/py3k/Doc/library/tempfile.rst
==============================================================================
--- python/branches/py3k/Doc/library/tempfile.rst (original)
+++ python/branches/py3k/Doc/library/tempfile.rst Mon Aug 4 09:24:52 2008
@@ -207,21 +207,8 @@
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.
Date: Mon Aug 4 09:24:52 2008
New Revision: 65478
Log:
Undocument deprecated module global "template".
Modified:
python/branches/py3k/Doc/library/tempfile.rst
Modified: python/branches/py3k/Doc/library/tempfile.rst
==============================================================================
--- python/branches/py3k/Doc/library/tempfile.rst (original)
+++ python/branches/py3k/Doc/library/tempfile.rst Mon Aug 4 09:24:52 2008
@@ -207,21 +207,8 @@
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.