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

Function bindseq

Lib/idlelib/multicall.py:426–431  ·  view source on GitHub ↗
(seq, n=[0])

Source from the content-addressed store, hash-verified

424 text.focus_set()
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
432 bindseq("<Key>")
433 bindseq("<Control-Key>")
434 bindseq("<Alt-Key-a>")

Callers 1

_multi_callFunction · 0.85

Calls 2

bindMethod · 0.45
event_addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…