8000 [3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-… · python/cpython@15f3d0c · GitHub
[go: up one dir, main page]

Skip to content

Commit 15f3d0c

Browse files
elprans1st1
authored andcommitted
[3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-6998)
(cherry picked from commit 63536bd) Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
1 parent 222ae1e commit 15f3d0c

File tree

4 files changed

+1557
-606
lines changed

4 files changed

+1557
-606
lines changed

Doc/library/asyncio-task.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Coroutines (and tasks) can only run when the event loop is running.
9292
used in a callback-style code, wrap its result with :func:`ensure_future`.
9393

9494

95-
.. function:: asyncio.run(coro, \*, debug=False)
95+
.. function:: run(coro, \*, debug=False)
9696

9797
This function runs the passed coroutine, taking care of
9898
managing the asyncio event loop and finalizing asynchronous

Doc/library/ensurepip.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ options:
7878

7979
Providing both of the script selection options will trigger an exception.
8080

81-
.. versionchanged:: 3.7.0
82-
The exit status is non-zero if the command fails.
83-
8481

8582
Module API
8683
----------

Doc/reference/compound_stmts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,8 @@ can be used to create instance variables with different implementation details.
683683
:pep:`3129` - Class Decorators
684684

685685

686+
.. _async:
687+
686688
Coroutines
687689
==========
688690

0 commit comments

Comments
 (0)
0