Skip to content

Commit bb7a491

Browse files
fix comma location in various places (GH-19233)
(cherry picked from commit c49016e) Co-authored-by: Mathieu Dupuy <[email protected]>
1 parent cb75801 commit bb7a491

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
@@ -578,7 +578,7 @@ scripts will wind up in :file:`/usr/local/python/bin`. If you want them in
578578

579579
python setup.py install --install-scripts=/usr/local/bin
580580

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

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
@@ -120,7 +120,7 @@ The :mod:`pprint` module also provides several shortcut functions:
120120

121121
.. index:: builtin: eval
122122

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

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
@@ -2235,7 +2235,7 @@ Visual inspection shows that the certificate does identify the desired service
22352235
(('postalCode', '03894-4801'),),
22362236
(('countryName', 'US'),),
22372237
(('stateOrProvinceName', 'NH'),),
2238-
(('localityName', 'Wolfeboro,'),),
2238+
(('localityName', 'Wolfeboro'),),
22392239
(('organizationName', 'Python Software Foundation'),),
22402240
(('commonName', 'www.python.org'),)),
22412241
'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)