We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9f764 commit 6b6c80bCopy full SHA for 6b6c80b
astroid/manager.py
@@ -374,6 +374,6 @@ def clear_cache(self):
374
# Load brain plugins: currently done in astroid.__init__.py
375
for module in BRAIN_MODULES_DIRECTORY.iterdir():
376
if module.suffix == ".py":
377
- spec = find_spec(f"astroid.brain.{module.stem}")
378
- module_object = module_from_spec(spec)
+ module_spec = find_spec(f"astroid.brain.{module.stem}")
+ module_object = module_from_spec(module_spec)
379
spec.loader.exec_module(module_object)
0 commit comments