Searched refs:preserve_annos (Results 1 – 3 of 3) sorted by relevance
33 def __init__(self, preserve_annos): argument35 self.preserve_annos = preserve_annos57 if self.preserve_annos:58 for k in self.preserve_annos:63 def copy_clean(node, preserve_annos=None): argument76 return CleanCopier(preserve_annos).copy(node)
140 new_nodes = ast_util.copy_clean(repl, preserve_annos=self.preserved_annos)
120 new_node = ast_util.copy_clean(node, preserve_annos={'foo'})