summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorMathieu Dupuy <deronnax@users.noreply.github.com>2020-03-30 23:28:25 +0200
committerGitHub <noreply@github.com>2020-03-30 14:28:25 -0700
commitc49016e67c3255b37599b354a8d7995d40663991 (patch)
treebf1d5863153f8d9e6f74d7e41681e293d1db8a8c /Doc/library
parent51e3e450fbed46198d9be92add1a5dee6a1f7f41 (diff)
downloadcpython-git-c49016e67c3255b37599b354a8d7995d40663991.tar.gz
fix comma location in various places (GH-19233)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/mailcap.rst2
-rw-r--r--Doc/library/pprint.rst2
-rw-r--r--Doc/library/ssl.rst4
-rw-r--r--Doc/library/textwrap.rst2
-rw-r--r--Doc/library/tokenize.rst2
5 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/mailcap.rst b/Doc/library/mailcap.rst
index 896afd1d73..bf9639bdac 100644
--- a/Doc/library/mailcap.rst
+++ b/Doc/library/mailcap.rst
@@ -18,7 +18,7 @@ belonging to a temporary file) and the :program:`xmpeg` program can be
automatically started to view the file.
The mailcap format is documented in :rfc:`1524`, "A User Agent Configuration
-Mechanism For Multimedia Mail Format Information," but is not an Internet
+Mechanism For Multimedia Mail Format Information", but is not an Internet
standard. However, mailcap files are supported on most Unix systems.
diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst
index 207c3f8bca..16256c5492 100644
--- a/Doc/library/pprint.rst
+++ b/Doc/library/pprint.rst
@@ -147,7 +147,7 @@ The :mod:`pprint` module also provides several shortcut functions:
.. index:: builtin: eval
- Determine if the formatted representation of *object* is "readable," or can be
+ Determine if the formatted representation of *object* is "readable", or can be
used to reconstruct the value using :func:`eval`. This always returns ``False``
for recursive objects.
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 3e5fcab22d..570d4f720a 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -42,7 +42,7 @@ This module provides a class, :class:`ssl.SSLSocket`, which is derived from the
:class:`socket.socket` type, and provides a socket-like wrapper that also
encrypts and decrypts the data going over the socket with SSL. It supports
additional methods such as :meth:`getpeercert`, which retrieves the
-certificate of the other side of the connection, and :meth:`cipher`,which
+certificate of the other side of the connection, and :meth:`cipher`, which
retrieves the cipher being used for the secure connection.
For more sophisticated applications, the :class:`ssl.SSLContext` class
@@ -2271,7 +2271,7 @@ Visual inspection shows that the certificate does identify the desired service
(('postalCode', '03894-4801'),),
(('countryName', 'US'),),
(('stateOrProvinceName', 'NH'),),
- (('localityName', 'Wolfeboro,'),),
+ (('localityName', 'Wolfeboro'),),
(('organizationName', 'Python Software Foundation'),),
(('commonName', 'www.python.org'),)),
'subjectAltName': (('DNS', 'www.python.org'),
diff --git a/Doc/library/textwrap.rst b/Doc/library/textwrap.rst
index 0f11ef4015..16837104b6 100644
--- a/Doc/library/textwrap.rst
+++ b/Doc/library/textwrap.rst
@@ -239,7 +239,7 @@ hyphenated words; only then will long words be broken if necessary, unless
:attr:`fix_sentence_endings` is false by default.
Since the sentence detection algorithm relies on ``string.lowercase`` for
- the definition of "lowercase letter," and a convention of using two spaces
+ the definition of "lowercase letter", and a convention of using two spaces
after a period to separate sentences on the same line, it is specific to
English-language texts.
diff --git a/Doc/library/tokenize.rst b/Doc/library/tokenize.rst
index 96778f23f8..11f569df2e 100644
--- a/Doc/library/tokenize.rst
+++ b/Doc/library/tokenize.rst
@@ -13,7 +13,7 @@
The :mod:`tokenize` module provides a lexical scanner for Python source code,
implemented in Python. The scanner in this module returns comments as tokens
-as well, making it useful for implementing "pretty-printers," including
+as well, making it useful for implementing "pretty-printers", including
colorizers for on-screen displays.
To simplify token stream handling, all :ref:`operator <operators>` and