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

Method _get_cursor_offset

bpython/curtsiesfrontend/repl.py:1892–1894  ·  view source on GitHub ↗

The current cursor offset from the front of the "line".

(self)

Source from the content-addressed store, hash-verified

1890 self.unhighlight_paren()
1891
1892 def _get_cursor_offset(self) -> int:
1893 """The current cursor offset from the front of the "line"."""
1894 return self._cursor_offset
1895
1896 def _set_cursor_offset(
1897 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected