mirror of
https://github.com/python/cpython.git
synced 2026-02-28 18:10:53 +00:00
Correct minor grammatical mistake in open docs (GH-15865)
(cherry picked from commit 05184515f9)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
parent
cdce233f61
commit
30a8fd7e73
1 changed files with 2 additions and 2 deletions
|
|
@ -1072,8 +1072,8 @@ are always available. They are listed here in alphabetical order.
|
|||
========= ===============================================================
|
||||
|
||||
The default mode is ``'r'`` (open for reading text, synonym of ``'rt'``).
|
||||
Modes ``'w+'`` and ``'w+b'`` opens and truncates the file. Modes ``'r+'``
|
||||
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.
|
||||
|
||||
As mentioned in the :ref:`io-overview`, Python distinguishes between binary
|
||||
and text I/O. Files opened in binary mode (including ``'b'`` in the *mode*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue