diff Lib/lib-tk/turtle.py @ 22842:079abe05e8bc 2.2

backport loewis' checkin of revision 1.6 of turtle.py Patch #536117: Typo in turtle.py. 2.2.2 candidate.
author Michael W. Hudson <mwh@python.net>
date Fri, 05 Apr 2002 15:28:31 +0000
parents c238745e0aae
children 27ff694c8c05
line wrap: on
line diff
--- a/Lib/lib-tk/turtle.py	Fri Apr 05 15:26:55 2002 +0000
+++ b/Lib/lib-tk/turtle.py	Fri Apr 05 15:28:31 2002 +0000
@@ -259,7 +259,7 @@
         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",