The docs were ambiguous about whether you pass in a coroutine function
or a coroutine object, e.g. is it:
aestack.push_async_exit(some_async_func)
or
aestack.push_async_exit(some_async_func())
(It's the first one.)
(cherry picked from commit
a3c88ef12c7b8993912750b56a1e095652fe47c0)
Co-authored-by: Nathaniel J. Smith <njs@pobox.com>
.. method:: push_async_exit(exit)
Similar to :meth:`push` but expects either an asynchronous context manager
- or a coroutine.
+ or a coroutine function.
.. method:: push_async_callback(callback, *args, **kwds)
- Similar to :meth:`callback` but expects a coroutine.
+ Similar to :meth:`callback` but expects a coroutine function.
.. method:: aclose()