[Python-checkins] python/dist/src/Lib/lib-tk turtle.py,1.8,1.9
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Sat, 28 Sep 2002 17:25:53 -0700
Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory usw-pr-cvs1:/tmp/cvs-serv1233/Lib/lib-tk
Modified Files:
turtle.py
Log Message:
Whitespace normalization (get rid of tabs).
Index: turtle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/turtle.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** turtle.py 23 Sep 2002 16:55:05 -0000 1.8
--- turtle.py 29 Sep 2002 00:25:51 -0000 1.9
***************
*** 200,204 ****
self._path.append(self._position)
self._draw_turtle()
!
def heading(self):
return self._angle
--- 200,204 ----
self._path.append(self._position)
self._draw_turtle()
!
def heading(self):
return self._angle
***************
*** 210,214 ****
def window_width(self):
width = self._canvas.winfo_width()
! if width <= 1: # the window isn't managed by a geometry manager
width = self._canvas['width']
return width
--- 210,214 ----
def window_width(self):
width = self._canvas.winfo_width()
! if width <= 1: # the window isn't managed by a geometry manager
width = self._canvas['width']
return width
***************
*** 216,220 ****
def window_height(self):
height = self._canvas.winfo_height()
! if height <= 1: # the window isn't managed by a geometry manager
height = self._canvas['height']
return height
--- 216,220 ----
def window_height(self):
height = self._canvas.winfo_height()
! if height <= 1: # the window isn't managed by a geometry manager
height = self._canvas['height']
return height
***************
*** 255,259 ****
self._path.append(self._position)
if self._drawing:
! if self._tracing:
dx = float(x1 - x0)
dy = float(y1 - y0)
--- 255,259 ----
self._path.append(self._position)
if self._drawing:
! if self._tracing:
dx = float(x1 - x0)
dy = float(y1 - y0)