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

Method accept

mypy/nodes.py:555–556  ·  view source on GitHub ↗
(self, visitor: NodeVisitor[T])

Source from the content-addressed store, hash-verified

553 return self._fullname
554
555 def accept(self, visitor: NodeVisitor[T]) -> T:
556 return visitor.visit_mypy_file(self)
557
558 def is_package_init_file(self) -> bool:
559 return len(self.path) != 0 and os.path.basename(self.path).startswith("__init__.")

Callers

nothing calls this directly

Calls 1

visit_mypy_fileMethod · 0.45

Tested by

no test coverage detected