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

Function handler

Lib/idlelib/multicall.py:427–428  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

425
426 def bindseq(seq, n=[0]):
427 def handler(event):
428 print(seq)
429 text.bind("<<handler%d>>"%n[0], handler)
430 text.event_add("<<handler%d>>"%n[0], seq)
431 n[0] += 1

Callers 11

handleMethod · 0.85
handle_begin_elementMethod · 0.85
handle_end_elementMethod · 0.85
set_contentMethod · 0.85
_mainFunction · 0.85
test_fake_error_classMethod · 0.85
new_handlerMethod · 0.85
test_file_displayMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by 5

test_fake_error_classMethod · 0.68
new_handlerMethod · 0.68
test_file_displayMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…