MCPcopy
hub / github.com/python/mypy / visit_decorator

Method visit_decorator

mypy/strconv.py:218–219  ·  view source on GitHub ↗
(self, o: mypy.nodes.Decorator)

Source from the content-addressed store, hash-verified

216 return self.dump([o.names], o)
217
218 def visit_decorator(self, o: mypy.nodes.Decorator) -> str:
219 return self.dump([o.var, o.decorators, o.func], o)
220
221 def visit_type_alias(self, o: mypy.nodes.TypeAlias, /) -> str:
222 return self.dump([o.name, o.target, o.alias_tvars, o.no_args], o)

Callers

nothing calls this directly

Calls 1

dumpMethod · 0.95

Tested by

no test coverage detected