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

Method turtles

Lib/turtle.py:1205–1212  ·  view source on GitHub ↗

Return the list of turtles on the screen. Example (for a TurtleScreen instance named screen): >>> screen.turtles() [ ]

(self)

Source from the content-addressed store, hash-verified

1203 turtle.reset()
1204
1205 def turtles(self):
1206 """Return the list of turtles on the screen.
1207
1208 Example (for a TurtleScreen instance named screen):
1209 >>> screen.turtles()
1210 [<turtle.Turtle object at 0x00E11FB0>]
1211 """
1212 return self._turtles
1213
1214 def bgcolor(self, *args):
1215 """Set or return backgroundcolor of the TurtleScreen.

Callers 3

updateMethod · 0.95
_updateMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected