MCPcopy Create free account
hub / github.com/PageBot/PageBot / isOverflow

Method isOverflow

Lib/pagebot/elements/table.py:122–125  ·  view source on GitHub ↗

Answers if this element needs overflow to be solved. This method is typically called by conditions such as Overflow2Next.

(self, tolerance)

Source from the content-addressed store, hash-verified

120 return overflow
121
122 def isOverflow(self, tolerance):
123 """Answers if this element needs overflow to be solved. This method is
124 typically called by conditions such as Overflow2Next."""
125 return self.nextElement is None or not self.getOverflow()
126
127 def overflow2Next(self):
128 """Try to fix if there is overflow."""

Callers

nothing calls this directly

Calls 1

getOverflowMethod · 0.95

Tested by

no test coverage detected