MCPcopy Index your code
hub / github.com/python/cpython / get_line_buffer

Method get_line_buffer

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

Source from the content-addressed store, hash-verified

511 self.startup_hook = function
512
513 def get_line_buffer(self) -> str:
514 return self.get_reader().get_unicode()
515
516 def _get_idxs(self) -> tuple[int, int]:
517 start = cursor = self.get_reader().pos

Callers 4

_get_idxsMethod · 0.95
completeMethod · 0.80
completeMethod · 0.80

Calls 2

get_readerMethod · 0.95
get_unicodeMethod · 0.80

Tested by 1