Pull the pen up -- no drawing when moving. Aliases: penup | pu | up No argument Example (for a Turtle instance named turtle): >>> turtle.penup()
(self)
| 2161 | |
| 2162 | |
| 2163 | def penup(self): |
| 2164 | """Pull the pen up -- no drawing when moving. |
| 2165 | |
| 2166 | Aliases: penup | pu | up |
| 2167 | |
| 2168 | No argument |
| 2169 | |
| 2170 | Example (for a Turtle instance named turtle): |
| 2171 | >>> turtle.penup() |
| 2172 | """ |
| 2173 | if not self._drawing: |
| 2174 | return |
| 2175 | self.pen(pendown=False) |
| 2176 | |
| 2177 | def pendown(self): |
| 2178 | """Pull the pen down -- drawing when moving. |