summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorRishav Kundu <rk@rishav.io>2020-08-14 07:03:14 +0530
committerGitHub <noreply@github.com>2020-08-13 18:33:14 -0700
commite55de68be3e5b977a17d3c0ac9805b0feff8fedc (patch)
tree7fd279053de65f90a6163005ae2ce8ae1476a100 /Lib/tempfile.py
parent6444ca946984c638c67a72aac22fd6d3cc650c16 (diff)
downloadcpython-git-e55de68be3e5b977a17d3c0ac9805b0feff8fedc.tar.gz
bpo-41410: Fix outdated info in mkstemp docs (GH-21701)
Automerge-Triggered-By: @ericvsmith
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index ba04be8f90..770f72c252 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -308,8 +308,7 @@ def mkstemp(suffix=None, prefix=None, dir=None, text=False):
otherwise a default directory is used.
If 'text' is specified and true, the file is opened in text
- mode. Else (the default) the file is opened in binary mode. On
- some operating systems, this makes no difference.
+ mode. Else (the default) the file is opened in binary mode.
If any of 'suffix', 'prefix' and 'dir' are not None, they must be the
same type. If they are bytes, the returned name will be bytes; str