:async: is the option in regular Sphinx

This commit is contained in:
Nick Coghlan 2024-05-23 17:20:23 +10:00
parent 789e976128
commit 988429dbe0

View file

@ -616,6 +616,7 @@ Functions and classes provided:
instead.
.. method:: enter_async_context(cm)
:async:
Similar to :meth:`ExitStack.enter_context` but expects an asynchronous context
manager.
@ -635,6 +636,7 @@ Functions and classes provided:
Similar to :meth:`ExitStack.callback` but expects a coroutine function.
.. method:: aclose()
:async:
Similar to :meth:`ExitStack.close` but properly handles awaitables.