def get_index_text(self, name: str) -> str:
    return (_('%s (C++ %s)') % (name, self.display_object_type))
def get_index_text(self, name: str) -> str:
    return (_('%s (C++ %s)') % (name, self.display_object_type))