summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
commitccd047ea4b92f09a84b67e69deb82ce42e510c4c (patch)
tree89663a3917f136919b9b491c22ee76c16afd0b83 /Lib/turtledemo
parenta6f26c1d3495670c02c2ceb1e38ada0d468579f7 (diff)
downloadcpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.zip
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.gz
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.bz2
Removed unused imports.
Diffstat (limited to 'Lib/turtledemo')
-rw-r--r--Lib/turtledemo/__main__.py1
-rwxr-xr-xLib/turtledemo/bytedesign.py1
-rwxr-xr-xLib/turtledemo/planet_and_moon.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/Lib/turtledemo/__main__.py b/Lib/turtledemo/__main__.py
index 106d058..d9b3dd5 100644
--- a/Lib/turtledemo/__main__.py
+++ b/Lib/turtledemo/__main__.py
@@ -95,7 +95,6 @@ from idlelib.textView import view_text
from turtledemo import __doc__ as about_turtledemo
import turtle
-import time
demo_dir = os.path.dirname(os.path.abspath(__file__))
darwin = sys.platform == 'darwin'
diff --git a/Lib/turtledemo/bytedesign.py b/Lib/turtledemo/bytedesign.py
index 64b1d7d..b3b095b 100755
--- a/Lib/turtledemo/bytedesign.py
+++ b/Lib/turtledemo/bytedesign.py
@@ -22,7 +22,6 @@ to 0, this animation runs in "line per line"
mode as fast as possible.
"""
-import math
from turtle import Turtle, mainloop
from time import clock
diff --git a/Lib/turtledemo/planet_and_moon.py b/Lib/turtledemo/planet_and_moon.py
index 26abfdb..021ff99 100755
--- a/Lib/turtledemo/planet_and_moon.py
+++ b/Lib/turtledemo/planet_and_moon.py
@@ -18,7 +18,6 @@ mouse over the scrollbar of the canvas.
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
-from time import sleep
G = 8