Skip to content

Commit 5797b57

Browse files
feat: add asyncio.iscoroutinefunction
1 parent 8e3ab3a commit 5797b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/doc/differences_from_python.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ non-exhaustive list of what won't work:
317317
- Frames of compiled functions can't be inspected using ``inspect``
318318
- Compiled methods aren't considered methods by ``inspect.ismethod``
319319
- ``inspect.signature`` chokes on compiled functions
320-
- ``inspect.iscoroutinefunction`` always returns False for compiled functions, even those defined with `async def`
320+
- ``inspect.iscoroutinefunction`` and ``asyncio.iscoroutinefunction`` will always return False for compiled functions, even those defined with `async def`
321321

322322
Profiling hooks and tracing
323323
***************************

0 commit comments

Comments
 (0)