mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix indentation for contextlib.asynccontextmanager docs (#127333)
This commit is contained in:
parent
3cf83d91a5
commit
9328db7652
1 changed files with 3 additions and 3 deletions
|
@ -151,9 +151,9 @@ Functions and classes provided:
|
||||||
created by :func:`asynccontextmanager` to meet the requirement that context
|
created by :func:`asynccontextmanager` to meet the requirement that context
|
||||||
managers support multiple invocations in order to be used as decorators.
|
managers support multiple invocations in order to be used as decorators.
|
||||||
|
|
||||||
.. versionchanged:: 3.10
|
.. versionchanged:: 3.10
|
||||||
Async context managers created with :func:`asynccontextmanager` can
|
Async context managers created with :func:`asynccontextmanager` can
|
||||||
be used as decorators.
|
be used as decorators.
|
||||||
|
|
||||||
|
|
||||||
.. function:: closing(thing)
|
.. function:: closing(thing)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue