bpo-41410: Fix outdated info in mkstemp docs (GH-21701)
Automerge-Triggered-By: @ericvsmith
(cherry picked from commit e55de68be3e5b977a17d3c0ac9805b0feff8fedc)
Co-authored-by: Rishav Kundu <rk@rishav.io>
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index ba04be8..770f72c 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -308,8 +308,7 @@
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