Fix indentation for contextlib.asynccontextmanager docs (#127333)

This commit is contained in:
Jelle Zijlstra 2024-11-27 06:38:55 -08:00 committed by GitHub
parent 3cf83d91a5
commit 9328db7652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)