summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-14 16:37:10 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-14 16:37:10 (GMT)
commit2f238c1b220c8952a9bea0ef598d53db02c50bc9 (patch)
tree31eb3fde295ac851cbd5f1eb2b782162a0ac7a32 /Doc
parent8e966ee49aed03c8cd0a5ff86d3f82d7a2423f15 (diff)
downloadcpython-2f238c1b220c8952a9bea0ef598d53db02c50bc9.zip
cpython-2f238c1b220c8952a9bea0ef598d53db02c50bc9.tar.gz
cpython-2f238c1b220c8952a9bea0ef598d53db02c50bc9.tar.bz2
mkstemp's last argument changed from binary=True to text=False.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtempfile.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libtempfile.tex b/Doc/lib/libtempfile.tex
index 8b778e9..c56110d 100644
--- a/Doc/lib/libtempfile.tex
+++ b/Doc/lib/libtempfile.tex
@@ -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.