mirror of
https://github.com/jazzband/contextlib2.git
synced 2026-04-07 16:20:59 +00:00
No coroutinemethod in regular Sphinx
This commit is contained in:
parent
ec50a1184d
commit
789e976128
1 changed files with 2 additions and 2 deletions
|
|
@ -615,7 +615,7 @@ Functions and classes provided:
|
|||
The :meth:`~ExitStack.close` method is not implemented; :meth:`aclose` must be used
|
||||
instead.
|
||||
|
||||
.. coroutinemethod:: enter_async_context(cm)
|
||||
.. method:: enter_async_context(cm)
|
||||
|
||||
Similar to :meth:`ExitStack.enter_context` but expects an asynchronous context
|
||||
manager.
|
||||
|
|
@ -634,7 +634,7 @@ Functions and classes provided:
|
|||
|
||||
Similar to :meth:`ExitStack.callback` but expects a coroutine function.
|
||||
|
||||
.. coroutinemethod:: aclose()
|
||||
.. method:: aclose()
|
||||
|
||||
Similar to :meth:`ExitStack.close` but properly handles awaitables.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue