def get_patched_ast(source, sorted_children=False):
 return patch_ast(ast.parse(source), source, sorted_children)

def get_patched_ast ( source , sorted_children = False ) : return patch_ast ( ast . parse ( source ) , source , sorted_children )
adds region and sorted_children fields to nodes adds sorted_children field only if sorted_children is true .