Commit 40cfc1e3 authored by Benjamin Peterson's avatar Benjamin Peterson

merge heads

parents 3da82067 3ee62702
...@@ -52,7 +52,7 @@ Lock ...@@ -52,7 +52,7 @@ Lock
:meth:`acquire` is a coroutine and should be called with ``yield from``. :meth:`acquire` is a coroutine and should be called with ``yield from``.
Locks also support the context management protocol. ``(yield from lock)`` Locks also support the context management protocol. ``(yield from lock)``
should be used as context manager expression. should be used as the context manager expression.
This class is :ref:`not thread safe <asyncio-multithreading>`. This class is :ref:`not thread safe <asyncio-multithreading>`.
......
...@@ -40,7 +40,7 @@ this module. The following types are supported: booleans, integers, floating ...@@ -40,7 +40,7 @@ this module. The following types are supported: booleans, integers, floating
point numbers, complex numbers, strings, bytes, bytearrays, tuples, lists, sets, point numbers, complex numbers, strings, bytes, bytearrays, tuples, lists, sets,
frozensets, dictionaries, and code objects, where it should be understood that frozensets, dictionaries, and code objects, where it should be understood that
tuples, lists, sets, frozensets and dictionaries are only supported as long as tuples, lists, sets, frozensets and dictionaries are only supported as long as
the values contained therein are themselves supported. the values contained therein are themselves supported. The
singletons :const:`None`, :const:`Ellipsis` and :exc:`StopIteration` can also be singletons :const:`None`, :const:`Ellipsis` and :exc:`StopIteration` can also be
marshalled and unmarshalled. marshalled and unmarshalled.
For format *version* lower than 3, recursive lists, sets and dictionaries cannot For format *version* lower than 3, recursive lists, sets and dictionaries cannot
......
...@@ -59,7 +59,7 @@ The :mod:`urllib.request` module defines the following functions: ...@@ -59,7 +59,7 @@ The :mod:`urllib.request` module defines the following functions:
The *cadefault* parameter is ignored. The *cadefault* parameter is ignored.
This function always returns an object which can work as This function always returns an object which can work as a
:term:`context manager` and has methods such as :term:`context manager` and has methods such as
* :meth:`~urllib.response.addinfourl.geturl` --- return the URL of the resource retrieved, * :meth:`~urllib.response.addinfourl.geturl` --- return the URL of the resource retrieved,
......
...@@ -111,7 +111,7 @@ class Lock(_ContextManagerMixin): ...@@ -111,7 +111,7 @@ class Lock(_ContextManagerMixin):
acquire() is a coroutine and should be called with 'yield from'. acquire() is a coroutine and should be called with 'yield from'.
Locks also support the context management protocol. '(yield from lock)' Locks also support the context management protocol. '(yield from lock)'
should be used as context manager expression. should be used as the context manager expression.
Usage: Usage:
......
...@@ -7778,7 +7778,7 @@ Library ...@@ -7778,7 +7778,7 @@ Library
- Issue #16176: Properly identify Windows 8 via platform.platform() - Issue #16176: Properly identify Windows 8 via platform.platform()
- Issue #16088: BaseHTTPRequestHandler's send_error method includes a - Issue #16088: BaseHTTPRequestHandler's send_error method includes a
Content-Length header in it's response now. Patch by Antoine Pitrou. Content-Length header in its response now. Patch by Antoine Pitrou.
- Issue #16114: The subprocess module no longer provides a misleading error - Issue #16114: The subprocess module no longer provides a misleading error
message stating that args[0] did not exist when either the cwd or executable message stating that args[0] did not exist when either the cwd or executable
......
...@@ -854,7 +854,7 @@ analyze_child_block(PySTEntryObject *entry, PyObject *bound, PyObject *free, ...@@ -854,7 +854,7 @@ analyze_child_block(PySTEntryObject *entry, PyObject *bound, PyObject *free,
/* Copy the bound and global dictionaries. /* Copy the bound and global dictionaries.
These dictionary are used by all blocks enclosed by the These dictionaries are used by all blocks enclosed by the
current block. The analyze_block() call modifies these current block. The analyze_block() call modifies these
dictionaries. dictionaries.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment