Skip to content

Commit d210a70

Browse files
committed
Minor spelling fixes
1 parent f43bc98 commit d210a70

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Doc/library/asyncio-protocol.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Transports
1111

1212
Transports are classes provided by :mod:`asyncio` in order to abstract
1313
various kinds of communication channels. You generally won't instantiate
14-
a transport yourself; instead, you will call a :class:`AbstractEventLoop` method
14+
a transport yourself; instead, you will call an :class:`AbstractEventLoop` method
1515
which will create the transport and try to initiate the underlying
1616
communication channel, calling you back when it succeeds.
1717

Doc/library/email.contentmanager.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Currently the email package provides only one concrete content manager,
347347

348348
.. method:: get_content(msg, errors='replace')
349349

350-
Return the payload of the part as either a string (for ``text`` parts), a
350+
Return the payload of the part as either a string (for ``text`` parts), an
351351
:class:`~email.message.EmailMessage` object (for ``message/rfc822``
352352
parts), or a ``bytes`` object (for all other non-multipart types). Raise
353353
a :exc:`KeyError` if called on a ``multipart``. If the part is a

Doc/library/xml.dom.pulldom.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ and switch to DOM-related processing.
7474
.. function:: parse(stream_or_string, parser=None, bufsize=None)
7575

7676
Return a :class:`DOMEventStream` from the given input. *stream_or_string* may be
77-
either a file name, or a file-like object. *parser*, if given, must be a
77+
either a file name, or a file-like object. *parser*, if given, must be an
7878
:class:`~xml.sax.xmlreader.XMLReader` object. This function will change the
7979
document handler of the
8080
parser and activate namespace support; other parser configuration (like

Doc/whatsnew/2.7.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ implemented by Vinay Sajip, are:
532532
calling ``log.getChild('network.listen')`` is equivalent to
533533
``getLogger('app.network.listen')``.
534534

535-
* The :class:`~logging.LoggerAdapter` class gained a
535+
* The :class:`~logging.LoggerAdapter` class gained an
536536
:meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
537537
*level* and returns whether the underlying logger would
538538
process a message of that level of importance.

Include/pymacconfig.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# if defined(__LP64__)
6464
/* MacOSX 10.4 (the first release to support 64-bit code
6565
* at all) only supports 64-bit in the UNIX layer.
66-
* Therefore surpress the toolbox-glue in 64-bit mode.
66+
* Therefore suppress the toolbox-glue in 64-bit mode.
6767
*/
6868

6969
/* In 64-bit mode setpgrp always has no arguments, in 32-bit
@@ -91,7 +91,7 @@
9191
*
9292
* Specifically: OSX 10.4 has limited supported for '%zd', while
9393
* 10.5 has full support for '%zd'. A binary built on 10.5 won't
94-
* work properly on 10.4 unless we surpress the definition
94+
* work properly on 10.4 unless we suppress the definition
9595
* of PY_FORMAT_SIZE_T
9696
*/
9797
#undef PY_FORMAT_SIZE_T

Misc/NEWS

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Windows
180180
Build
181181
-----
182182

183-
- Issue #27713: Surpress spurious build warnings when updating importlib's
183+
- Issue #27713: Suppress spurious build warnings when updating importlib's
184184
bootstrap files. Patch by Xiang Zhang
185185

186186
- Issue #25825: Correct the references to Modules/python.exp, which is

0 commit comments

Comments
 (0)