Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
446
class
Tooltip(urwid.BoxWidget):
Callers
nothing calls this directly
Calls
1
keypress
Method · 0.45
Tested by
no test coverage detected