MCPcopy Index your code
hub / github.com/python/cpython / clockface

Function clockface

Lib/turtledemo/clock.py:39–50  ·  view source on GitHub ↗
(radius)

Source from the content-addressed store, hash-verified

37 register_shape(name, hand_form)
38
39def clockface(radius):
40 reset()
41 pensize(7)
42 for i in range(60):
43 jump(radius)
44 if i % 5 == 0:
45 fd(25)
46 jump(-radius-25)
47 else:
48 dot(3)
49 jump(-radius)
50 rt(6)
51
52def display_date_time():
53 global current_day

Callers 1

setupFunction · 0.85

Calls 4

jumpFunction · 0.85
fdFunction · 0.85
dotFunction · 0.85
rtFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…