[Python-checkins] CVS: python/dist/src/Lib/lib-tk turtle.py,1.3,1.4
Guido van Rossum
python-dev@python.org
Mon, 01 Jan 2001 11:11:09 -0800
Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory usw-pr-cvs1:/tmp/cvs-serv26735
Modified Files:
turtle.py
Log Message:
Patch by kragen@pobox.com: When tracing is turned on, lines shorter
than a pixel don't get drawn at all. If you're building long curves
made of such lines, this is a bad thing.
Index: turtle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/turtle.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** turtle.py 2000/10/23 18:31:14 1.3
--- turtle.py 2001/01/01 19:11:07 1.4
***************
*** 222,225 ****
--- 222,227 ----
self._canvas.update()
self._canvas.after(10)
+ # in case nhops==0
+ self._canvas.coords(item, x0, y0, x1, y1)
self._canvas.itemconfigure(item, arrow="none")
except Tkinter.TclError: