Return the TurtleScreen object, the turtle is drawing on. No argument. Return the TurtleScreen object, the turtle is drawing on. So TurtleScreen-methods can be called for that object. Example (for a Turtle instance named turtle): >>> ts = turtle.getscreen
(self)
| 3375 | return tuple(self._poly) |
| 3376 | |
| 3377 | def getscreen(self): |
| 3378 | """Return the TurtleScreen object, the turtle is drawing on. |
| 3379 | |
| 3380 | No argument. |
| 3381 | |
| 3382 | Return the TurtleScreen object, the turtle is drawing on. |
| 3383 | So TurtleScreen-methods can be called for that object. |
| 3384 | |
| 3385 | Example (for a Turtle instance named turtle): |
| 3386 | >>> ts = turtle.getscreen() |
| 3387 | >>> ts |
| 3388 | <turtle.TurtleScreen object at 0x0106B770> |
| 3389 | >>> ts.bgcolor("pink") |
| 3390 | """ |
| 3391 | return self.screen |
| 3392 | |
| 3393 | def getturtle(self): |
| 3394 | """Return the Turtleobject itself. |
nothing calls this directly
no outgoing calls
no test coverage detected