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

Method get_history_length

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

Source from the content-addressed store, hash-verified

418 return line
419
420 def get_history_length(self) -> int:
421 return self.saved_history_length
422
423 def set_history_length(self, length: int) -> None:
424 self.saved_history_length = length

Calls

no outgoing calls