summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/turtle.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-5/+5
| | | | From SF patch #852334.
* SF bug #685773: 2 (more) bugs in turtleRaymond Hettinger2003-06-091-0/+1
| | | | | | | 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.
* SF patch #701494: more apply removalsRaymond Hettinger2003-04-061-2/+2
|
* Whitespace normalization (get rid of tabs).Guido van Rossum2002-09-291-4/+4
|
* Add the bulk of SF patch 595111 by Attila Babo.Guido van Rossum2002-09-231-2/+42
| | | | | | | | | | | | This adds new methods heading(), setheading(), position(), window_width(), window_height(), setx(), and sety(), to make this more functionality-compatible with Logo turtle graphics (Attila's last words, not mine :-). I had to fix the sety() code which was broken in Attila's patch. I'm not adopting the functionality change that Attila claimed was a bugfix (no output without tracing), because I disagree that it's a bug.
* Update Canvas before computing width. Draw turtle at end of drawing circle.Martin v. Löwis2002-09-221-0/+2
| | | | Fixes #612595. Will backport to 2.2.
* Patch #536117: Typo in turtle.py.Martin v. Löwis2002-03-281-1/+1
| | | | 2.2.2 candidate.
* Applied SF patch #438424 by Josh Cogliati:Guido van Rossum2001-08-091-4/+42
| | | | | | | | | Python's logolike module turtle.py did not display the turtle except when actually drawing lines. This patch changes the turtle.py module so that it displays the turtle at all times when tracing is on. This is similar to the the way that logo works. When tracing is off the turtle will not be displayed.
* Patch by kragen@pobox.com: When tracing is turned on, lines shorterGuido van Rossum2001-01-011-0/+2
| | | | | than a pixel don't get drawn at all. If you're building long curves made of such lines, this is a bad thing.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-2/+2
|
* Don't rename Tkinter to Tk; closes bug 115714Martin v. Löwis2000-10-011-6/+6
| | | | Subclass Error from Exception.
* Turtle graphicsGuido van Rossum1998-12-041-0/+343