We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077b7a8 commit 3ab2372Copy full SHA for 3ab2372
1 file changed
Doc/library/tempfile.rst
@@ -175,9 +175,8 @@ The module defines the following user-callable items:
175
If you want to force a bytes return value with otherwise default behavior,
176
pass ``suffix=b''``.
177
178
- If *text* is specified and ``True`` (or a truthy value), the file is
179
- opened in text mode. Otherwise, (the default) the file is opened in
180
- binary mode.
+ If *text* is specified and true, the file is opened in text mode.
+ Otherwise, (the default) the file is opened in binary mode.
181
182
:func:`mkstemp` returns a tuple containing an OS-level handle to an open
183
file (as would be returned by :func:`os.open`) and the absolute pathname
0 commit comments