mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
bpo-32996: The bulk of What's New in Python 3.7 (GH-6978)
This commit is contained in:
parent
6b0d09b8f0
commit
63536bd286
@ -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
|
||||
|
@ -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
|
||||
----------
|
||||
|
@ -684,6 +684,8 @@ can be used to create instance variables with different implementation details.
|
||||
:pep:`3129` - Class Decorators
|
||||
|
||||
|
||||
.. _async:
|
||||
|
||||
Coroutines
|
||||
==========
|
||||
|
||||
|
2110
Doc/whatsnew/3.7.rst
2110
Doc/whatsnew/3.7.rst
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user