We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a03aa commit 133aa2dCopy full SHA for 133aa2d
Doc/library/contextlib.rst
@@ -409,11 +409,11 @@ Functions and classes provided:
409
.. versionadded:: 3.2
410
411
412
-.. class:: AsyncContextManager
+.. class:: AsyncContextDecorator
413
414
- Similar as ContextManger only for async
+ Similar to :class:`ContextDecorator` but only for asynchronous functions.
415
416
- Example of ``ContextDecorator``::
+ Example of ``AsyncContextDecorator``::
417
418
from asyncio import run
419
from contextlib import AsyncContextDecorator
@@ -445,6 +445,8 @@ Functions and classes provided:
445
The bit in the middle
446
Finishing
447
448
+ .. versionadded:: 3.10
449
+
450
451
.. class:: ExitStack()
452
0 commit comments