summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-14 00:49:50 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-14 00:49:50 (GMT)
commitd41bf348257725be7c18c956e4b0ad4953a8182e (patch)
treeb1686c804219f7781673244d5f03f5b3701a4855 /Lib/tempfile.py
parentf69b3e9edc7ebd5c544dc0001c71d9bf16023dcc (diff)
downloadcpython-d41bf348257725be7c18c956e4b0ad4953a8182e.zip
cpython-d41bf348257725be7c18c956e4b0ad4953a8182e.tar.gz
cpython-d41bf348257725be7c18c956e4b0ad4953a8182e.tar.bz2
mkstemp(): Repaired error in docstring (the sense of the 'binary' flag
was reversed).
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 24b78bf..fba9407 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -265,8 +265,8 @@ def mkstemp(suffix="", prefix=template, dir=gettempdir(), binary=True):
If 'dir' is specified, the file will be created in that directory,
otherwise a default directory is used.
- If 'binary' is specified and false, the file is opened in binary
- mode. Otherwise, the file is opened in text mode. On some
+ If 'binary' is specified and false, the file is opened in text
+ mode. Otherwise, the file is opened in binary mode. On some
operating systems, this makes no difference.
The file is readable and writable only by the creating user ID.