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

Method set

Lib/idlelib/textview.py:17–22  ·  view source on GitHub ↗
(self, lo, hi)

Source from the content-addressed store, hash-verified

15 Only the grid geometry manager is supported.
16 """
17 def set(self, lo, hi):
18 if float(lo) > 0.0 or float(hi) < 1.0:
19 self.grid()
20 else:
21 self.grid_remove()
22 super().set(lo, hi)
23
24 def pack(self, **kwargs):
25 raise TclError(f'{self.__class__.__name__} does not support "pack"')

Callers

nothing calls this directly

Calls 3

superClass · 0.85
grid_removeMethod · 0.80
gridMethod · 0.45

Tested by

no test coverage detected