mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
SF bug #685773: 2 (more) bugs in turtle
The docs recommend filling by fill(1), drawing commands, fill(0). However, the filling did not actually take place until the next draw command. Fixed by issuing a null draw command at the end of the fill method.
This commit is contained in:
parent
1a44448b24
commit
af81c2e887
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ class RawPen:
|
|||
self._filling = flag
|
||||
if flag:
|
||||
self._path.append(self._position)
|
||||
self.forward(0)
|
||||
|
||||
def circle(self, radius, extent=None):
|
||||
if extent is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue