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

Function getlspace

Tools/patchcheck/reindent.py:325–329  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

323
324# Count number of leading blanks.
325def getlspace(line):
326 i, n = 0, len(line)
327 while i < n and line[i] == " ":
328 i += 1
329 return i
330
331
332if __name__ == '__main__':

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…