def line_indent(line):
    indent = ''
    m = re.search(r'^(\s*)', line)
    if len(m.groups()) >= 1:
        indent = m.group(1)

    return indent
Returns an indent at head of the specified line.
dataset/ETHPy150Open googkit/googkit/googkit/lib/strutil.py/line_indent