bpo-41410: Fix outdated info in mkstemp docs (GH-21701)

Automerge-Triggered-By: @ericvsmith
This commit is contained in:
Rishav Kundu 2020-08-14 07:03:14 +05:30 committed by GitHub
parent 6444ca9469
commit e55de68be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -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