turtle.Terminator

exception turtle.Terminator[source]

Will be raised in TurtleScreen.update, if _RUNNING becomes False.

This stops execution of a turtle graphics script. Main purpose: use in the Demo-Viewer turtle.Demo.py.