Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9f270a24
Commit
9f270a24
authored
Oct 25, 2018
by
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
Committed by
Victor Stinner
Oct 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turtledemo/penrose.py: remove unused clock() calls (GH-10033)
Actually time calculations were remove in commit
891a1f86
.
parent
9f43fbbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
Lib/turtledemo/penrose.py
Lib/turtledemo/penrose.py
+0
-3
No files found.
Lib/turtledemo/penrose.py
View file @
9f270a24
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment