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

Method cursor_offset

bpython/repl.py:458–460  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

456
457 @property
458 def cursor_offset(self) -> int:
459 """The current cursor offset from the front of the "line"."""
460 return self._get_cursor_offset()
461
462 @cursor_offset.setter
463 def cursor_offset(self, value: int) -> None:

Callers

nothing calls this directly

Calls 2

_get_cursor_offsetMethod · 0.95
_set_cursor_offsetMethod · 0.95

Tested by

no test coverage detected