def get_mapping(self):
        for name in self.accessed_names:
            local_name = name.split('.', 1)[0]
            remainder = name[len(local_name):]
            if local_name in self.imported_names:
                # Join import path to relative path
                full_name = self.imported_names[local_name] + remainder
                yield name, full_name
dataset/ETHPy150Open scikit-learn/scikit-learn/doc/sphinxext/gen_rst.py/NameFinder.get_mapping/original