aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/exceptions.py
diff options
context:
space:
mode:
authorCarlton Gibson <carlton@noumenal.es>2022-12-18 20:13:24 +0100
committerGitHub <noreply@github.com>2022-12-18 11:13:24 -0800
commit532aa4e4e019812d0388920768ede7c04232ebe1 (patch)
treebac6a6c3f467bc6a7d7ac1210fc5f9929cc2742a /Lib/asyncio/exceptions.py
parent1cf3d78c92eb07dc09d15cc2e773b0b1b9436825 (diff)
downloadcpython-532aa4e4e019812d0388920768ede7c04232ebe1.tar.gz
cpython-532aa4e4e019812d0388920768ede7c04232ebe1.zip
gh-94912: Added marker for non-standard coroutine function detection (#99247)
This introduces a new decorator `@inspect.markcoroutinefunction`, which, applied to a sync function, makes it appear async to `inspect.iscoroutinefunction()`.
Diffstat (limited to 'Lib/asyncio/exceptions.py')
0 files changed, 0 insertions, 0 deletions