MCPcopy Create free account
hub / github.com/bpython/bpython / keypress

Method keypress

bpython/urwid.py:440–443  ·  view source on GitHub ↗
(self, size, key)

Source from the content-addressed store, hash-verified

438 """
439
440 def keypress(self, size, key):
441 if key not in ("up", "down"):
442 return urwid.ListBox.keypress(self, size, key)
443 return key
444
445
446class Tooltip(urwid.BoxWidget):

Callers

nothing calls this directly

Calls 1

keypressMethod · 0.45

Tested by

no test coverage detected