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)
| 3628 | return tuple(self._poly) |
| 3629 | |
| 3630 | def getscreen(self): |
| 3631 | """Return the TurtleScreen object, the turtle is drawing on. |
| 3632 | |
| 3633 | No argument. |
| 3634 | |
| 3635 | Return the TurtleScreen object, the turtle is drawing on. |
| 3636 | So TurtleScreen-methods can be called for that object. |
| 3637 | |
| 3638 | Example (for a Turtle instance named turtle): |
| 3639 | >>> ts = turtle.getscreen() |
| 3640 | >>> ts |
| 3641 | <turtle.TurtleScreen object at 0x0106B770> |
| 3642 | >>> ts.bgcolor("pink") |
| 3643 | """ |
| 3644 | return self.screen |
| 3645 | |
| 3646 | def getturtle(self): |
| 3647 | """Return the Turtleobject itself. |