diff options
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index efe62d4..62e25a3 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -1406,7 +1406,7 @@ class WindowsRegistryFinder: @classmethod def find_module(cls, fullname, path=None): """Find module named in the registry.""" - spec = self.find_spec(fullname, path) + spec = cls.find_spec(fullname, path) if spec is not None: return spec.loader else: |