Skip to content

Commit 1940919

Browse files
committed
Merge typo fixes from 3.5
2 parents 5a493e9 + 3ee6270 commit 1940919

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Doc/library/asyncio-sync.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Lock
5252
:meth:`acquire` is a coroutine and should be called with ``yield from``.
5353

5454
Locks also support the context management protocol. ``(yield from lock)``
55-
should be used as context manager expression.
55+
should be used as the context manager expression.
5656

5757
This class is :ref:`not thread safe <asyncio-multithreading>`.
5858

Doc/library/marshal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ this module. The following types are supported: booleans, integers, floating
4040
point numbers, complex numbers, strings, bytes, bytearrays, tuples, lists, sets,
4141
frozensets, dictionaries, and code objects, where it should be understood that
4242
tuples, lists, sets, frozensets and dictionaries are only supported as long as
43-
the values contained therein are themselves supported.
43+
the values contained therein are themselves supported. The
4444
singletons :const:`None`, :const:`Ellipsis` and :exc:`StopIteration` can also be
4545
marshalled and unmarshalled.
4646
For format *version* lower than 3, recursive lists, sets and dictionaries cannot

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The :mod:`urllib.request` module defines the following functions:
5959

6060
The *cadefault* parameter is ignored.
6161

62-
This function always returns an object which can work as
62+
This function always returns an object which can work as a
6363
:term:`context manager` and has methods such as
6464

6565
* :meth:`~urllib.response.addinfourl.geturl` --- return the URL of the resource retrieved,

Lib/asyncio/locks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Lock(_ContextManagerMixin):
111111
acquire() is a coroutine and should be called with 'yield from'.
112112
113113
Locks also support the context management protocol. '(yield from lock)'
114-
should be used as context manager expression.
114+
should be used as the context manager expression.
115115
116116
Usage:
117117

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8520,7 +8520,7 @@ Library
85208520
- Issue #16176: Properly identify Windows 8 via platform.platform()
85218521

85228522
- Issue #16088: BaseHTTPRequestHandler's send_error method includes a
8523-
Content-Length header in it's response now. Patch by Antoine Pitrou.
8523+
Content-Length header in its response now. Patch by Antoine Pitrou.
85248524

85258525
- Issue #16114: The subprocess module no longer provides a misleading error
85268526
message stating that args[0] did not exist when either the cwd or executable

Python/symtable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ analyze_child_block(PySTEntryObject *entry, PyObject *bound, PyObject *free,
854854

855855
/* Copy the bound and global dictionaries.
856856
857-
These dictionary are used by all blocks enclosed by the
857+
These dictionaries are used by all blocks enclosed by the
858858
current block. The analyze_block() call modifies these
859859
dictionaries.
860860

0 commit comments

Comments
 (0)