MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getsize

Method getsize

tools/python-3.11.9-amd64/Tools/demo/spreadsheet.py:134–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

132 self.movecells(x2+1, 0, sys.maxsize, sys.maxsize, x1-x2-1, 0)
133
134 def getsize(self):
135 maxx = maxy = 0
136 for x, y in self.cells:
137 maxx = max(maxx, x)
138 maxy = max(maxy, y)
139 return maxx, maxy
140
141 def reset(self):
142 for cell in self.cells.values():

Callers 2

displayMethod · 0.95
__init__Method · 0.45

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected