thod is deprecated.  Use find_spec() instead.

        zpWindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() insteadN