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

Method callback

Lib/test/test_tkinter/test_misc.py:137–139  ·  view source on GitHub ↗
(start=0, step=1, *, end=0)

Source from the content-addressed store, hash-verified

135 root = self.root
136
137 def callback(start=0, step=1, *, end=0):
138 nonlocal count
139 count = start + step + end
140
141 # Without function, sleeps for ms.
142 self.assertIsNone(root.after(1))

Callers 1

run_ptyFunction · 0.45

Calls 2

afterMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected