Skip to content

Commit

Permalink
Update astroid/interpreter/_import/spec.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
  • Loading branch information
DanielNoord and jacobtylerwalls authored Feb 5, 2023
1 parent d8c5a48 commit 6ea1a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/interpreter/_import/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _find_spec_with_path(
meta_finder_name = meta_finder.__class__.__name__
if meta_finder_name not in _MetaPathFinderModuleTypes:
# Setuptools>62 creates its EditableFinders dynamically and have
# "type" as their __clas__.__name__. We check __name__ as well
# "type" as their __class__.__name__. We check __name__ as well
# to see if we can support the finder.
try:
meta_finder_name = meta_finder.__name__
Expand Down

0 comments on commit 6ea1a7d

Please sign in to comment.