Skip to content

Commit c49016e

Browse files
authored
fix comma location in various places (GH-19233)
1 parent 51e3e45 commit c49016e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Doc/install/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ scripts will wind up in :file:`/usr/local/python/bin`. If you want them in
532532

533533
python setup.py install --install-scripts=/usr/local/bin
534534

535-
(This performs an installation using the "prefix scheme," where the prefix is
535+
(This performs an installation using the "prefix scheme", where the prefix is
536536
whatever your Python interpreter was installed with--- :file:`/usr/local/python`
537537
in this case.)
538538

Doc/library/mailcap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ belonging to a temporary file) and the :program:`xmpeg` program can be
1818
automatically started to view the file.
1919

2020
The mailcap format is documented in :rfc:`1524`, "A User Agent Configuration
21-
Mechanism For Multimedia Mail Format Information," but is not an Internet
21+
Mechanism For Multimedia Mail Format Information", but is not an Internet
2222
standard. However, mailcap files are supported on most Unix systems.
2323

2424

Doc/library/pprint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The :mod:`pprint` module also provides several shortcut functions:
147147

148148
.. index:: builtin: eval
149149

150-
Determine if the formatted representation of *object* is "readable," or can be
150+
Determine if the formatted representation of *object* is "readable", or can be
151151
used to reconstruct the value using :func:`eval`. This always returns ``False``
152152
for recursive objects.
153153

Doc/library/ssl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This module provides a class, :class:`ssl.SSLSocket`, which is derived from the
4242
:class:`socket.socket` type, and provides a socket-like wrapper that also
4343
encrypts and decrypts the data going over the socket with SSL. It supports
4444
additional methods such as :meth:`getpeercert`, which retrieves the
45-
certificate of the other side of the connection, and :meth:`cipher`,which
45+
certificate of the other side of the connection, and :meth:`cipher`, which
4646
retrieves the cipher being used for the secure connection.
4747

4848
For more sophisticated applications, the :class:`ssl.SSLContext` class
@@ -2271,7 +2271,7 @@ Visual inspection shows that the certificate does identify the desired service
22712271
(('postalCode', '03894-4801'),),
22722272
(('countryName', 'US'),),
22732273
(('stateOrProvinceName', 'NH'),),
2274-
(('localityName', 'Wolfeboro,'),),
2274+
(('localityName', 'Wolfeboro'),),
22752275
(('organizationName', 'Python Software Foundation'),),
22762276
(('commonName', 'www.python.org'),)),
22772277
'subjectAltName': (('DNS', 'www.python.org'),

Doc/library/textwrap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ hyphenated words; only then will long words be broken if necessary, unless
239239
:attr:`fix_sentence_endings` is false by default.
240240

241241
Since the sentence detection algorithm relies on ``string.lowercase`` for
242-
the definition of "lowercase letter," and a convention of using two spaces
242+
the definition of "lowercase letter", and a convention of using two spaces
243243
after a period to separate sentences on the same line, it is specific to
244244
English-language texts.
245245

Doc/library/tokenize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
The :mod:`tokenize` module provides a lexical scanner for Python source code,
1515
implemented in Python. The scanner in this module returns comments as tokens
16-
as well, making it useful for implementing "pretty-printers," including
16+
as well, making it useful for implementing "pretty-printers", including
1717
colorizers for on-screen displays.
1818

1919
To simplify token stream handling, all :ref:`operator <operators>` and

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Objects, values and types
1717

1818
:dfn:`Objects` are Python's abstraction for data. All data in a Python program
1919
is represented by objects or by relations between objects. (In a sense, and in
20-
conformance to Von Neumann's model of a "stored program computer," code is also
20+
conformance to Von Neumann's model of a "stored program computer", code is also
2121
represented by objects.)
2222

2323
.. index::

Doc/reference/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Arithmetic conversions
2828
.. index:: pair: arithmetic; conversion
2929

3030
When a description of an arithmetic operator below uses the phrase "the numeric
31-
arguments are converted to a common type," this means that the operator
31+
arguments are converted to a common type", this means that the operator
3232
implementation for built-in types works as follows:
3333

3434
* If either argument is a complex number, the other is converted to complex;

0 commit comments

Comments
 (0)