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

Method visit_decorator

mypy/stubgen.py:758–762  ·  view source on GitHub ↗
(self, o: Decorator)

Source from the content-addressed store, hash-verified

756 self._state = FUNC
757
758 def visit_decorator(self, o: Decorator) -> None:
759 if self.is_private_name(o.func.name, o.func.fullname):
760 return
761 self.process_decorator(o)
762 self.visit_func_def(o.func)
763
764 def process_decorator(self, o: Decorator) -> None:
765 """Process a series of decorators.

Callers

nothing calls this directly

Calls 3

process_decoratorMethod · 0.95
visit_func_defMethod · 0.95
is_private_nameMethod · 0.80

Tested by

no test coverage detected