MCPcopy Index your code
hub / github.com/sphinx-doc/sphinx / visit_AsyncFunctionDef

Method visit_AsyncFunctionDef

sphinx/pycode/parser.py:500–502  ·  view source on GitHub ↗

Handles AsyncFunctionDef node and set context.

(self, node: ast.AsyncFunctionDef)

Source from the content-addressed store, hash-verified

498 self.current_function = None
499
500 def visit_AsyncFunctionDef(self, node: ast.AsyncFunctionDef) -> None:
501 """Handles AsyncFunctionDef node and set context."""
502 self.visit_FunctionDef(node) # type: ignore[arg-type]
503
504 def visit_TypeAlias(self, node: ast.TypeAlias) -> None:
505 """Handles TypeAlias node and picks up a variable comment.

Callers

nothing calls this directly

Calls 1

visit_FunctionDefMethod · 0.95

Tested by

no test coverage detected