Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4b26ff83
Commit
4b26ff83
authored
Aug 04, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undocument deprecated module global "template".
parent
18c55d34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
Doc/library/tempfile.rst
Doc/library/tempfile.rst
+1
-14
No files found.
Doc/library/tempfile.rst
View file @
4b26ff83
...
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment