MCPcopy Index your code
hub / github.com/csev/py4e / __str__

Method __str__

code/graphics/graphics.py:552–553  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 return "(%s, %s)" % (approx(self.x), approx(self.y))
551
552 def __str__(self):
553 return "Point" + self.coordStr()
554
555 def getX(self): return self.x
556 def getY(self): return self.y

Callers

nothing calls this directly

Calls 1

coordStrMethod · 0.95

Tested by

no test coverage detected