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
2f238c1b
Commit
2f238c1b
authored
Aug 14, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkstemp's last argument changed from binary=True to text=False.
parent
8e966ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/lib/libtempfile.tex
Doc/lib/libtempfile.tex
+2
-2
No files found.
Doc/lib/libtempfile.tex
View file @
2f238c1b
...
...
@@ -67,7 +67,7 @@ the file object.
\begin{funcdesc}
{
mkstemp
}{
\optional
{
suffix
}
\optional
{
, prefix
}
\optional
{
, dir
}
\optional
{
,
binary=1
}}
\optional
{
,
text=False
}}
Creates a temporary file in the most secure manner possible. There
are no race conditions in the file's creation, assuming that the
platform properly implements the
\constant
{
O
_
EXCL
}
flag for
...
...
@@ -90,7 +90,7 @@ 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.
If
\var
{
binary
}
is specified, it indicates whether to open the file in
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
no difference.
...
...
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