MCPcopy Create free account
hub / github.com/bpython/bpython / entry

Method entry

bpython/history.py:99–101  ·  view source on GitHub ↗

The current entry, which may be the saved line

(self)

Source from the content-addressed store, hash-verified

97
98 @property
99 def entry(self) -> str:
100 """The current entry, which may be the saved line"""
101 return self.entries[-self.index] if self.index else self.saved_line
102
103 @property
104 def entries_by_index(self) -> list[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected