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

Function display_date_time

Lib/turtledemo/clock.py:52–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 rt(6)
51
52def display_date_time():
53 global current_day
54 writer.clear()
55 now = datetime.now()
56 current_day = now.day
57 writer.home()
58 writer.forward(distance=65)
59 writer.write(wochentag(now), align="center", font=dtfont)
60 writer.back(distance=150)
61 writer.write(datum(now), align="center", font=dtfont)
62 writer.forward(distance=85)
63
64def setup():
65 global second_hand, minute_hand, hour_hand, writer

Callers 2

setupFunction · 0.85
tickFunction · 0.85

Calls 8

wochentagFunction · 0.85
datumFunction · 0.85
nowMethod · 0.80
backMethod · 0.80
clearMethod · 0.45
homeMethod · 0.45
forwardMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…