diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2018-09-18 14:27:59 -0700 |
---|---|---|
committer | Carol Willing <carolcode@willingconsulting.com> | 2018-09-18 14:27:59 -0700 |
commit | a3c88ef12c7b8993912750b56a1e095652fe47c0 (patch) | |
tree | 13c1ffb44e0329dcaff8bf4e3590ec2d3346a411 /Python/ceval.c | |
parent | 79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b (diff) | |
download | cpython-git-a3c88ef12c7b8993912750b56a1e095652fe47c0.tar.gz |
Clarify that AsyncExitStack works with coroutine functions (GH-9405)
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.)
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions