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

Method max_column

Lib/_pyrepl/reader.py:469–471  ·  view source on GitHub ↗

Return the last x-offset for line y

(self, y: int)

Source from the content-addressed store, hash-verified

467 return p
468
469 def max_column(self, y: int) -> int:
470 """Return the last x-offset for line y"""
471 return self.screeninfo[y][0] + sum(self.screeninfo[y][1])
472
473 def max_row(self) -> int:
474 return len(self.screeninfo) - 1

Callers 2

doMethod · 0.80
doMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected