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 021169f commit 9a75cc6Copy full SHA for 9a75cc6
Doc/library/contextlib.rst
@@ -463,7 +463,7 @@ Functions and classes provided:
463
The :meth:`close` method is not implemented, :meth:`aclose` must be used
464
instead.
465
466
- .. method:: enter_async_context(cm)
+ .. coroutinemethod:: enter_async_context(cm)
467
468
Similar to :meth:`enter_context` but expects an asynchronous context
469
manager.
@@ -477,7 +477,7 @@ Functions and classes provided:
477
478
Similar to :meth:`callback` but expects a coroutine function.
479
480
- .. method:: aclose()
+ .. coroutinemethod:: aclose()
481
482
Similar to :meth:`close` but properly handles awaitables.
483
0 commit comments