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

Method enter

bpython/history.py:187–189  ·  view source on GitHub ↗
(self, line: str)

Source from the content-addressed store, hash-verified

185 return self.index == 0
186
187 def enter(self, line: str) -> None:
188 if self.index == 0:
189 self.saved_line = line
190
191 def reset(self) -> None:
192 self.index = 0

Callers 1

handle_inputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected