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

Method has_undoc_decorator

docs/sphinxext/apigen.py:47–49  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

45
46 @staticmethod
47 def has_undoc_decorator(node):
48 return any(isinstance(d, ast.Name) and d.id == 'undoc' \
49 for d in node.decorator_list)
50
51 def visit_If(self, node):
52 if isinstance(node.test, ast.Compare) \

Callers 2

visit_FunctionDefMethod · 0.95
visit_ClassDefMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected