[Python-checkins] r56900 - python/branches/release25-maint/Lib/lib-tk/turtle.py

georg.brandl python-checkins at python.org
Fri Aug 10 19:29:52 CEST 2007


Author: georg.brandl
Date: Fri Aug 10 19:29:51 2007
New Revision: 56900

Modified:
   python/branches/release25-maint/Lib/lib-tk/turtle.py
Log:
Fix #1771558 (already fixed in trunk).


Modified: python/branches/release25-maint/Lib/lib-tk/turtle.py
==============================================================================
--- python/branches/release25-maint/Lib/lib-tk/turtle.py	(original)
+++ python/branches/release25-maint/Lib/lib-tk/turtle.py	Fri Aug 10 19:29:51 2007
@@ -15,6 +15,7 @@
 """
 
 from math import * # Also for export
+from time import sleep
 import Tkinter
 
 speeds = ['fastest', 'fast', 'normal', 'slow', 'slowest']
@@ -949,7 +950,6 @@
 
 
 if __name__ == '__main__':
-    from time import sleep
     demo()
     sleep(3)
     demo2()


More information about the Python-checkins mailing list