turtle.RawTurtle.getturtle

RawTurtle.getturtle()[source]

Return the Turtleobject itself.

No argument.

Only reasonable use: as a function to return the ‘anonymous turtle’:

Example: >>> pet = getturtle() >>> pet.fd(50) >>> pet <turtle.Turtle object at 0x0187D810> >>> turtles() [<turtle.Turtle object at 0x0187D810>]