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

Method too_much

Tools/c-analyzer/c_parser/parser/_info.py:132–143  ·  view source on GitHub ↗
(self, maxtext, maxlines)

Source from the content-addressed store, hash-verified

130 return maxlines and self.end - self.start > maxlines
131
132 def too_much(self, maxtext, maxlines):
133 if self.too_much_text(maxtext):
134 pass
135 elif self.too_many_lines(maxlines):
136 pass
137 else:
138 return False
139
140 #if re.fullmatch(r'[^;]+\[\][ ]*=[ ]*[{]([ ]*\d+,)*([ ]*\d+,?)\s*',
141 # self._current.text):
142 # return False
143 return True
144
145 def _set_ready(self):
146 if self._current is None:

Callers 1

_iter_sourceFunction · 0.95

Calls 2

too_much_textMethod · 0.95
too_many_linesMethod · 0.95

Tested by

no test coverage detected