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

Method __repr__

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

Source from the content-addressed store, hash-verified

1859 self.update_completion()
1860
1861 def __repr__(self):
1862 return f"""<{type(self)}
1863 cursor_offset: {self.cursor_offset}
1864 num display lines: {len(self.display_lines)}
1865 lines scrolled down: {self.scroll_offset}
1866>"""
1867
1868 def _get_current_line(self) -> str:
1869 """The current line"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected