New submission from Naglis Jonaitis <nag...@mailbox.org>:
enter_async_context[1] and aclose[2] are coroutine methods. 1: https://github.com/python/cpython/blob/8f04a84755babe516ebb5304904ea7c15b865c80/Lib/contextlib.py#L548 2: https://github.com/python/cpython/blob/8f04a84755babe516ebb5304904ea7c15b865c80/Lib/contextlib.py#L591 ---------- assignee: docs@python components: Documentation messages: 371503 nosy: docs@python, naglis priority: normal severity: normal status: open title: contextlib.AsyncExitStack enter_async_context and aclose should be labeled as coroutine methods versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com