Pull the pen up -- no drawing when moving. Aliases: penup | pu | up No argument Example (for a Turtle instance named turtle): >>> turtle.penup()
(self)
| 1992 | |
| 1993 | |
| 1994 | def penup(self): |
| 1995 | """Pull the pen up -- no drawing when moving. |
| 1996 | |
| 1997 | Aliases: penup | pu | up |
| 1998 | |
| 1999 | No argument |
| 2000 | |
| 2001 | Example (for a Turtle instance named turtle): |
| 2002 | >>> turtle.penup() |
| 2003 | """ |
| 2004 | if not self._drawing: |
| 2005 | return |
| 2006 | self.pen(pendown=False) |
| 2007 | |
| 2008 | def pendown(self): |
| 2009 | """Pull the pen down -- drawing when moving. |