[Python-checkins] Correct minor grammatical mistake in open docs (GH-15865)
Gregory P. Smith
webhook-mailer at python.org
Tue Sep 10 10:48:09 EDT 2019
https://github.com/python/cpython/commit/05184515f924c3880067aad87940dd466f751585
commit: 05184515f924c3880067aad87940dd466f751585
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2019年09月10日T15:48:05+01:00
summary:
Correct minor grammatical mistake in open docs (GH-15865)
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 98a55c61eff2..2e385a2a37d5 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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*
More information about the Python-checkins
mailing list