MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / _get

Method _get

mitmproxy/tools/console/keybindings.py:56–58  ·  view source on GitHub ↗
(self, pos)

Source from the content-addressed store, hash-verified

54 return self.focus_obj.get_edit_text()
55
56 def _get(self, pos):
57 binding = self.bindings[pos]
58 return KeyItem(self, binding, pos == self.index)
59
60 def get_focus(self):
61 return self.focus_obj, self.index

Callers 3

set_focusMethod · 0.95
get_nextMethod · 0.95
get_prevMethod · 0.95

Calls 1

KeyItemClass · 0.85

Tested by

no test coverage detected