MCPcopy Index your code
hub / github.com/bpython/bpython / take_back_empty_line

Method take_back_empty_line

bpython/curtsiesfrontend/repl.py:1955–1959  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1953 self.all_logical_lines.pop()
1954
1955 def take_back_empty_line(self):
1956 assert self.history and not self.history[-1]
1957 self.history.pop()
1958 self.display_lines.pop()
1959 self.all_logical_lines.pop()
1960
1961 def prompt_undo(self):
1962 if self.buffer:

Callers 1

prompt_undoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected