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

Method current_suggestion

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

Source from the content-addressed store, hash-verified

1507
1508 @property
1509 def current_suggestion(self):
1510 if self.current_line:
1511 for entry in reversed(self.rl_history.entries):
1512 if entry.startswith(self.current_line):
1513 return entry[len(self.current_line) :]
1514 return ""
1515
1516 @property
1517 def current_output_line(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected