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

Method clone

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

Source from the content-addressed store, hash-verified

542 self.y = self.y + dy
543
544 def clone(self):
545 other = Point(self.x,self.y)
546 other.config = self.config.copy()
547 return other
548
549 def coordStr(self):
550 return "(%s, %s)" % (approx(self.x), approx(self.y))

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected