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

Method __repr__

mypy/nodes.py:1526–1528  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1524 return self._fullname
1525
1526 def __repr__(self) -> str:
1527 name = self.fullname or self.name
1528 return f"<Var {name!r} at {hex(id(self))}>"
1529
1530 def accept(self, visitor: NodeVisitor[T]) -> T:
1531 return visitor.visit_var(self)

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected