Correct minor grammatical mistake in open docs (GH-15865)

This commit is contained in:
Andre Delfino 2019-09-10 11:48:05 -03:00 committed by Gregory P. Smith
parent c3d679fd39
commit 05184515f9
1 changed files with 2 additions and 2 deletions

View File

@ -1074,8 +1074,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*