Return True if pen is down, False if it's up. No argument. Example (for a Turtle instance named turtle): >>> turtle.penup() >>> turtle.isdown() False >>> turtle.pendown() >>> turtle.isdown() True
(self)
| 2020 | self.pen(pendown=True) |
| 2021 | |
| 2022 | def isdown(self): |
| 2023 | """Return True if pen is down, False if it's up. |
| 2024 | |
| 2025 | No argument. |
| 2026 | |
| 2027 | Example (for a Turtle instance named turtle): |
| 2028 | >>> turtle.penup() |
| 2029 | >>> turtle.isdown() |
| 2030 | False |
| 2031 | >>> turtle.pendown() |
| 2032 | >>> turtle.isdown() |
| 2033 | True |
| 2034 | """ |
| 2035 | return self._drawing |
| 2036 | |
| 2037 | def speed(self, speed=None): |
| 2038 | """ Return or set the turtle's speed. |
nothing calls this directly
no outgoing calls
no test coverage detected