summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/forest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/turtledemo/forest.py')
-rwxr-xr-xLib/turtledemo/forest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/turtledemo/forest.py b/Lib/turtledemo/forest.py
index 7fe080e..55b7da9 100755
--- a/Lib/turtledemo/forest.py
+++ b/Lib/turtledemo/forest.py
@@ -13,7 +13,7 @@ http://homepage.univie.ac.at/erich.neuwirth/
"""
from turtle import Turtle, colormode, tracer, mainloop
from random import randrange
-from time import clock
+from time import perf_counter as clock
def symRandom(n):
return randrange(-n,n+1)