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
da65c649
Commit
da65c649
authored
Nov 06, 2006
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport: note that user can control directory location even if default dir is used
parent
a3ce6aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Doc/lib/libtempfile.tex
Doc/lib/libtempfile.tex
+6
-1
No files found.
Doc/lib/libtempfile.tex
View file @
da65c649
...
...
@@ -86,7 +86,12 @@ If \var{prefix} is specified, the file name will begin with that
prefix; otherwise, a default prefix is used.
If
\var
{
dir
}
is specified, the file will be created in that directory;
otherwise, a default directory is used.
otherwise, a default directory is used. The default directory is chosen
from a platform-dependent list, but the user of the application can control
the directory location by setting the
\var
{
TMPDIR
}
,
\var
{
TEMP
}
or
\var
{
TMP
}
environment variables. There is thus no guarantee that the generated
filename will have any nice properties, such as not requiring quoting when
passed to external commands via
\code
{
os.popen()
}
.
If
\var
{
text
}
is specified, it indicates whether to open the file in
binary mode (the default) or text mode. On some platforms, this makes
...
...
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