code: def _get_starting_indent(source):
    
    if source.startswith(" "):
      return sum(1 for _ in itertools.takewhile(lambda c: c in {' ', b' '}, source))
    return 0
docs: Remove leading indentation from `source` so ast.parse() doesn't raise an exception.