MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __repr__

Method __repr__

geometry/jarvis_march.py:37–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 return self.x == other.x and self.y == other.y
36
37 def __repr__(self) -> str:
38 return f"Point({self.x}, {self.y})"
39
40 def __hash__(self) -> int:
41 return hash((self.x, self.y))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected