def METHOD_NAME(self, fullname, path, target=None):
    # Python 3 Finder method (MetaPathFinder)
    if fullname in mapping:
        from importlib.machinery import ModuleSpec
        return ModuleSpec(fullname, self)
    return None