MCPcopy Create free account
hub / github.com/python/mypy / visit_any

Method visit_any

mypy/stubutil.py:254–257  ·  view source on GitHub ↗
(self, t: AnyType)

Source from the content-addressed store, hash-verified

252 self.local_modules = local_modules or ["builtins"]
253
254 def visit_any(self, t: AnyType) -> str:
255 s = super().visit_any(t)
256 self.stubgen.import_tracker.require_name(s)
257 return s
258
259 def visit_unbound_type(self, t: UnboundType) -> str:
260 s = t.name

Callers

nothing calls this directly

Calls 1

require_nameMethod · 0.80

Tested by

no test coverage detected