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

(cherry picked from commit 63536bd286)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
This commit is contained in:
Elvis Pranskevichus 2018-05-19 23:39:45 -04:00 committed by Yury Selivanov
parent 222ae1eccc
commit 15f3d0cc76
4 changed files with 1532 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

@ -683,6 +683,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