From 9f270a24237ce562c327af5d187fad72b735e9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Srinivas=20=20Thatiparthy=20=28=E0=B0=B6=E0=B1=8D=E0=B0=B0?= =?UTF-8?q?=E0=B1=80=E0=B0=A8=E0=B0=BF=E0=B0=B5=E0=B0=BE=E0=B0=B8=E0=B1=8D?= =?UTF-8?q?=20=20=E0=B0=A4=E0=B0=BE=E0=B0=9F=E0=B0=BF=E0=B0=AA=E0=B0=B0?= =?UTF-8?q?=E0=B1=8D=E0=B0=A4=E0=B0=BF=29?= Date: Thu, 25 Oct 2018 04:13:39 +0530 Subject: [PATCH] turtledemo/penrose.py: remove unused clock() calls (GH-10033) Actually time calculations were remove in commit 891a1f8. --- Lib/turtledemo/penrose.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/turtledemo/penrose.py b/Lib/turtledemo/penrose.py index e118d6a75e9..045722a2286 100755 --- a/Lib/turtledemo/penrose.py +++ b/Lib/turtledemo/penrose.py @@ -137,13 +137,10 @@ def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): goto(startpos) setheading(0) tiledict = {} - a = clock() tracer(0) fun(l, n) - b = clock() draw(l, n, th) tracer(1) - c = clock() nk = len([x for x in tiledict if tiledict[x]]) nd = len([x for x in tiledict if not tiledict[x]]) print("%d kites and %d darts = %d pieces." % (nk, nd, nk+nd))