]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport loewis' checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 5 Apr 2002 15:28:31 +0000 (15:28 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 5 Apr 2002 15:28:31 +0000 (15:28 +0000)
    revision 1.6 of turtle.py

Patch #536117: Typo in turtle.py.
2.2.2 candidate.

Lib/lib-tk/turtle.py

index d5b445a9e266d1cafd1fd7ab07bb18389ff8f918..82dd759231a7072fce2a473e25d10841f4885222 100644 (file)
@@ -259,7 +259,7 @@ class RawPen:
         dx = distance * cos(self._angle*self._invradian)
         dy = distance * sin(self._angle*self._invradian)
         self._delete_turtle()
-        self._arrow = _canvas.create_line(x-dx,y+dy,x,y,
+        self._arrow = self._canvas.create_line(x-dx,y+dy,x,y,
                                           width=self._width,
                                           arrow="last",
                                           capstyle="round",