Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bpython/bpython
/ append
Method
append
bpython/history.py:56–57 ·
view source on GitHub ↗
(self, line: str)
Source
from the content-addressed store, hash-verified
54
self.hist_size = hist_size
55
56
def
append(self, line: str) -> None:
57
self.append_to(self.entries, line)
58
59
def
append_to(self, entries: list[str], line: str) -> None:
60
line = line.rstrip(
"\n"
)
Callers
15
append_reload_and_write
Method · 0.95
setup.py
File · 0.80
prompt
Method · 0.80
settext
Method · 0.80
decoding_input_filter
Function · 0.80
echo
Method · 0.80
_populate_completion
Method · 0.80
prompt
Method · 0.80
handle_input
Method · 0.80
current_string
Method · 0.80
_funcname_and_argnum
Method · 0.80
format_docstring
Method · 0.80
Calls
1
append_to
Method · 0.95
Tested by
4
refresh
Method · 0.64
test_append
Method · 0.64
schedule_event
Method · 0.64
test_external_communication_encoding
Method · 0.64