File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ \section{\module{tempfile} ---
6767\begin {funcdesc }{mkstemp}{\optional {suffix}
6868 \optional {, prefix}
6969 \optional {, dir}
70- \optional {, binary=1 }}
70+ \optional {, text=False }}
7171Creates a temporary file in the most secure manner possible. There
7272are no race conditions in the file's creation, assuming that the
7373platform properly implements the \constant {O_EXCL} flag for
@@ -90,7 +90,7 @@ \section{\module{tempfile} ---
9090If \var {dir} is specified, the file will be created in that directory;
9191otherwise, a default directory is used.
9292
93- If \var {binary } is specified, it indicates whether to open the file in
93+ If \var {text } is specified, it indicates whether to open the file in
9494binary mode (the default) or text mode. On some platforms, this makes
9595no difference.
9696
You can’t perform that action at this time.
0 commit comments