From: Raymond Hettinger Date: Mon, 9 Jun 2003 08:50:57 +0000 (+0000) Subject: SF bug #685773: 2 (more) bugs in turtle X-Git-Tag: v2.3c1~506 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af81c2e887f185197be8073d7d95cf1ad5178330;p=python 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. --- diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index e915ce939a..b56d91c83f 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -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: