MCPcopy Index your code
hub / github.com/RustPython/RustPython / max_column

Method max_column

Lib/_pyrepl/reader.py:519–521  ·  view source on GitHub ↗

Return the last x-offset for line y

(self, y: int)

Source from the content-addressed store, hash-verified

517 return p
518
519 def max_column(self, y: int) -> int:
520 """Return the last x-offset for line y"""
521 return self.screeninfo[y][0] + sum(self.screeninfo[y][1])
522
523 def max_row(self) -> int:
524 return len(self.screeninfo) - 1

Callers 2

doMethod · 0.80
doMethod · 0.80

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected