MCPcopy Index your code
hub / github.com/python/cpython / _createpoly

Method _createpoly

Lib/turtle.py:490–493  ·  view source on GitHub ↗

Create an invisible polygon item on canvas self.cv)

(self)

Source from the content-addressed store, hash-verified

488 self.xscale = self.yscale = 1.0
489
490 def _createpoly(self):
491 """Create an invisible polygon item on canvas self.cv)
492 """
493 return self.cv.create_polygon((0, 0, 0, 0, 0, 0), fill="", outline="")
494
495 def _drawpoly(self, polyitem, coordlist, fill=None,
496 outline=None, width=None, top=False):

Callers 4

_setshapeMethod · 0.80
cloneMethod · 0.80
stampMethod · 0.80
begin_fillMethod · 0.80

Calls 1

create_polygonMethod · 0.80

Tested by

no test coverage detected