MCPcopy 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

setup.pyFile · 0.80
promptMethod · 0.80
settextMethod · 0.80
decoding_input_filterFunction · 0.80
echoMethod · 0.80
_populate_completionMethod · 0.80
promptMethod · 0.80
handle_inputMethod · 0.80
current_stringMethod · 0.80
_funcname_and_argnumMethod · 0.80
format_docstringMethod · 0.80

Calls 1

append_toMethod · 0.95

Tested by 4

refreshMethod · 0.64
test_appendMethod · 0.64
schedule_eventMethod · 0.64