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

Method stopIt

Lib/turtledemo/__main__.py:380–386  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

378 self.configGUI(NORMAL, DISABLED, DISABLED)
379
380 def stopIt(self):
381 if self.exitflag:
382 self.clearCanvas()
383 self.exitflag = False
384 self.configGUI(NORMAL, DISABLED, DISABLED,
385 "STOPPED!", "red")
386 turtle.TurtleScreen._RUNNING = False
387
388 def _destroy(self):
389 turtle.TurtleScreen._RUNNING = False

Callers

nothing calls this directly

Calls 2

clearCanvasMethod · 0.95
configGUIMethod · 0.95

Tested by

no test coverage detected