Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ getlspace
Function
getlspace
tools/python-3.11.9-amd64/Tools/scripts/reindent.py:325–329 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
323
324
# Count number of leading blanks.
325
def
getlspace(line):
326
i, n = 0, len(line)
327
while
i < n and line[i] ==
" "
:
328
i += 1
329
return
i
330
331
332
if
__name__ ==
'__main__'
:
Callers
1
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected