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

Method _image

Lib/turtle.py:471–475  ·  view source on GitHub ↗

return an image object containing the imagedata from an image file named filename.

(self, filename)

Source from the content-addressed store, hash-verified

469 return img
470
471 def _image(self, filename):
472 """return an image object containing the
473 imagedata from an image file named filename.
474 """
475 return TK.PhotoImage(file=filename, master=self.cv)
476
477 def __init__(self, cv):
478 self.cv = cv

Callers 2

register_shapeMethod · 0.80
bgpicMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected