MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_line_buffer

Method get_line_buffer

Lib/_pyrepl/readline.py:492–493  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

490 self.startup_hook = function
491
492 def get_line_buffer(self) -> str:
493 return self.get_reader().get_unicode()
494
495 def _get_idxs(self) -> tuple[int, int]:
496 start = cursor = self.get_reader().pos

Callers 2

_get_idxsMethod · 0.95
completeMethod · 0.80

Calls 2

get_readerMethod · 0.95
get_unicodeMethod · 0.80

Tested by

no test coverage detected