MCPcopy Index your code
hub / github.com/RustPython/RustPython / async_no_doc

Function async_no_doc

extra_tests/snippets/code_co_consts.py:55–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54# Test async function without docstring
55async def async_no_doc():
56 await sleep(1)
57 return 1
58
59
60assert not (async_no_doc.__code__.co_flags & 0x4000000)

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.90

Tested by

no test coverage detected