From: Georg Brandl Date: Fri, 10 Aug 2007 17:29:51 +0000 (+0000) Subject: Fix #1771558 (already fixed in trunk). X-Git-Tag: v2.5.2c1~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2944600bd9ec9840e3f285004d14aa4837465b4;p=python Fix #1771558 (already fixed in trunk). --- diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 01a55b1522..fcde9af4ed 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -15,6 +15,7 @@ pictures can easily be drawn. """ from math import * # Also for export +from time import sleep import Tkinter speeds = ['fastest', 'fast', 'normal', 'slow', 'slowest'] @@ -949,7 +950,6 @@ def demo2(): if __name__ == '__main__': - from time import sleep demo() sleep(3) demo2()