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

Method visit_FunctionDef

mypy/fastparse.py:901–902  ·  view source on GitHub ↗
(self, n: ast3.FunctionDef)

Source from the content-addressed store, hash-verified

899 # arguments = (arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults,
900 # arg? kwarg, expr* defaults)
901 def visit_FunctionDef(self, n: ast3.FunctionDef) -> FuncDef | Decorator:
902 return self.do_func_def(n)
903
904 # AsyncFunctionDef(identifier name, arguments args,
905 # stmt* body, expr* decorator_list, expr? returns, string? type_comment)

Callers

nothing calls this directly

Calls 1

do_func_defMethod · 0.95

Tested by

no test coverage detected