Skip to content

Commit

Permalink
Fixes sphinx-doc#8568. Ignore TypeError from getslots in isslotsattri…
Browse files Browse the repository at this point in the history
…bute
  • Loading branch information
ravwojdyla committed Dec 21, 2020
1 parent a7e10c1 commit b080286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/ext/autodoc/__init__.py
Expand Up @@ -2114,7 +2114,7 @@ def isslotsattribute(self) -> bool:
return True
else:
return False
except (AttributeError, ValueError):
except (AttributeError, ValueError, TypeError):
return False

def import_object(self, raiseerror: bool = False) -> bool:
Expand Down

0 comments on commit b080286

Please sign in to comment.