MCPcopy Index your code
hub / github.com/python/cpython / pendown

Method pendown

Lib/turtle.py:2177–2189  ·  view source on GitHub ↗

Pull the pen down -- drawing when moving. Aliases: pendown | pd | down No argument. Example (for a Turtle instance named turtle): >>> turtle.pendown()

(self)

Source from the content-addressed store, hash-verified

2175 self.pen(pendown=False)
2176
2177 def pendown(self):
2178 """Pull the pen down -- drawing when moving.
2179
2180 Aliases: pendown | pd | down
2181
2182 No argument.
2183
2184 Example (for a Turtle instance named turtle):
2185 >>> turtle.pendown()
2186 """
2187 if self._drawing:
2188 return
2189 self.pen(pendown=True)
2190
2191 def isdown(self):
2192 """Return True if pen is down, False if it's up.

Callers 7

test_teleportMethod · 0.95
dotMethod · 0.80
maketreeFunction · 0.80
treeFunction · 0.80
startFunction · 0.80
__init__Method · 0.80

Calls 1

penMethod · 0.95

Tested by 2

test_teleportMethod · 0.76