mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
#10354: remove last public mentions of 'template' and comment as private.
I didn't rename the variable because I can see no good reason to break backward compatibility just to put an underscore in the name.
This commit is contained in:
parent
8153b7a57a
commit
3a420c752d
2 changed files with 3 additions and 3 deletions
|
|
@ -10,8 +10,6 @@ This module also provides some data items to the user:
|
|||
|
||||
TMP_MAX - maximum number of names that will be tried before
|
||||
giving up.
|
||||
template - the default prefix for all temporary names.
|
||||
You may change this to control the default prefix.
|
||||
tempdir - If this is set to a string before the first use of
|
||||
any routine from this module, it will be considered as
|
||||
another candidate location to store temporary files.
|
||||
|
|
@ -74,6 +72,8 @@ if hasattr(_os, 'TMP_MAX'):
|
|||
else:
|
||||
TMP_MAX = 10000
|
||||
|
||||
# Although it does not have an underscore for historical reasons, this
|
||||
# variable is an internal implementation detail (see issue 10354).
|
||||
template = "tmp"
|
||||
|
||||
# Internal routines.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue