SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 312 Python

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()`.
C
Carlton Gibson committed
532aa4e4e019812d0388920768ede7c04232ebe1
Parent: 1cf3d78
Committed by GitHub <noreply@github.com> on 12/18/2022, 7:13:24 PM