MCPcopy Index your code
hub / github.com/bpython/bpython / call

Method call

bpython/curtsiesfrontend/manual_readline.py:65–69  ·  view source on GitHub ↗
(self, key, **kwargs)

Source from the content-addressed store, hash-verified

63 self.awaiting_config[config_attr] = func
64
65 def call(self, key, **kwargs):
66 func = self[key]
67 params = getargspec(func)
68 args = {k: v for k, v in kwargs.items() if k in params}
69 return func(**args)
70
71 def __contains__(self, key):
72 return key in self.simple_edits or key in self.cut_buffer_edits

Callers 5

test_seqMethod · 0.80
test_configMethod · 0.80
process_key_eventMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_seqMethod · 0.64
test_configMethod · 0.64