Searched refs:import_statement (Results 1 – 5 of 5) sorted by relevance
32 for import_statement in module.FindAll(refactor.Import):35 if move.UpdateImportAndReferences(module, import_statement):67 def UpdateImportAndReferences(self, module, import_statement): argument78 statement_path_parts = import_statement.path.split('.')84 old_name_parts = import_statement.name.split('.')87 import_statement.path = '.'.join(new_name_parts)88 new_name = import_statement.name
8 from py_utils.refactor.annotated_symbol.import_statement import *
375 for import_statement in self._typemaps.format_imports():376 yield import_statement
36 def diff_piped(self, data, import_statement): argument37 script = self.make_temp("\n".join([import_statement, PIPE_SCRIPT]))
362 string import_statement = ModuleImportStatement(filename); in PrintImports() local365 import_statement, "alias", module_alias); in PrintImports()