MCPcopy Create free account
hub / github.com/ipython/ipython / visit_FunctionDef

Method visit_FunctionDef

docs/sphinxext/apigen.py:59–62  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

57 self.generic_visit(node)
58
59 def visit_FunctionDef(self, node):
60 if not (node.name.startswith('_') or self.has_undoc_decorator(node)) \
61 and node.name not in self.functions:
62 self.functions.append(node.name)
63
64 def visit_ClassDef(self, node):
65 if not (node.name.startswith('_') or self.has_undoc_decorator(node)) \

Callers

nothing calls this directly

Calls 1

has_undoc_decoratorMethod · 0.95

Tested by

no test coverage detected