def _get_indent_string(line):
    """Return the indention string of the given line."""
    result = ''
    for char in line:
        if char in ' \t':
            result += char
        else:
            break
    return result
