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

Method longest_run_of_spaces

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

Source from the content-addressed store, hash-verified

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

Callers 3

not_equal_witnessMethod · 0.95
lessMethod · 0.95
not_less_witnessMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected