bpo-32996: The bulk of What's New in Python 3.7 (GH-6978)

This commit is contained in:
Elvis Pranskevichus 2018-05-19 23:15:06 -04:00 committed by Yury Selivanov
parent 6b0d09b8f0
commit 63536bd286
4 changed files with 1536 additions and 581 deletions

View File

@ -92,7 +92,7 @@ Coroutines (and tasks) can only run when the event loop is running.
used in a callback-style code, wrap its result with :func:`ensure_future`.
.. function:: asyncio.run(coro, \*, debug=False)
.. function:: run(coro, \*, debug=False)
This function runs the passed coroutine, taking care of
managing the asyncio event loop and finalizing asynchronous

View File

@ -78,9 +78,6 @@ options:
Providing both of the script selection options will trigger an exception.
.. versionchanged:: 3.7.0
The exit status is non-zero if the command fails.
Module API
----------

View File

@ -684,6 +684,8 @@ can be used to create instance variables with different implementation details.
:pep:`3129` - Class Decorators
.. _async:
Coroutines
==========

File diff suppressed because it is too large Load Diff