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 cdce233 commit 30a8fd7Copy full SHA for 30a8fd7
Doc/library/functions.rst
@@ -1072,8 +1072,8 @@ are always available. They are listed here in alphabetical order.
1072
========= ===============================================================
1073
1074
The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``).
1075
- Modes ``'w+'`` and ``'w+b'`` opens and truncates the file. Modes ``'r+'``
1076
- and ``'r+b'`` opens the file with no truncation.
+ Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'``
+ and ``'r+b'`` open the file with no truncation.
1077
1078
As mentioned in the :ref:`io-overview`, Python distinguishes between binary
1079
and text I/O. Files opened in binary mode (including ``'b'`` in the *mode*
0 commit comments