code: def remove_pyname(self, pyname):
          
          visitor = actions.RemovePyNameVisitor(self.project, self.pymodule,
                                                pyname, self._current_folder())
          for import_stmt in self.imports:
              import_stmt.accept(visitor)
docs: Removes pyname when imported in ``from mod import x``