MCPcopy Index your code
hub / github.com/RustPython/RustPython / longest_run_of_spaces

Method longest_run_of_spaces

Lib/tabnanny.py:183–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 # return length of longest contiguous run of spaces (whether or not
182 # preceding a tab)
183 def longest_run_of_spaces(self):
184 count, trailing = self.norm
185 return max(len(count)-1, trailing)
186
187 def indent_level(self, tabsize):
188 # count, il = self.norm

Callers 3

not_equal_witnessMethod · 0.95
lessMethod · 0.95
not_less_witnessMethod · 0.95

Calls 2

maxFunction · 0.85
lenFunction · 0.85

Tested by

no test coverage detected