MCPcopy Index your code
hub / github.com/python/mypy / visit_AsyncFunctionDef

Method visit_AsyncFunctionDef

mypy/fastparse.py:906–907  ·  view source on GitHub ↗
(self, n: ast3.AsyncFunctionDef)

Source from the content-addressed store, hash-verified

904 # AsyncFunctionDef(identifier name, arguments args,
905 # stmt* body, expr* decorator_list, expr? returns, string? type_comment)
906 def visit_AsyncFunctionDef(self, n: ast3.AsyncFunctionDef) -> FuncDef | Decorator:
907 return self.do_func_def(n, is_coroutine=True)
908
909 def do_func_def(
910 self, n: ast3.FunctionDef | ast3.AsyncFunctionDef, is_coroutine: bool = False

Callers

nothing calls this directly

Calls 1

do_func_defMethod · 0.95

Tested by

no test coverage detected