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