We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c66195 commit c054e8fCopy full SHA for c054e8f
Doc/library/contextlib.rst
@@ -578,7 +578,7 @@ Functions and classes provided:
578
The :meth:`close` method is not implemented, :meth:`aclose` must be used
579
instead.
580
581
- .. method:: enter_async_context(cm)
+ .. coroutinemethod:: enter_async_context(cm)
582
583
Similar to :meth:`enter_context` but expects an asynchronous context
584
manager.
@@ -592,7 +592,7 @@ Functions and classes provided:
592
593
Similar to :meth:`callback` but expects a coroutine function.
594
595
- .. method:: aclose()
+ .. coroutinemethod:: aclose()
596
597
Similar to :meth:`close` but properly handles awaitables.
598
0 commit comments