Skip to content

Commit

Permalink
Merge pull request #133 from pkgw/issue-132
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Oct 23, 2021
2 parents 39609d0 + 403620a commit a867f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_automodapi/automodsumm.py
Expand Up @@ -539,7 +539,7 @@ def get_members_class(obj, typ, include_public=[],
# class `__dict__` instead.
declares_slots = (
hasattr(obj, '__slots__') and
not (type(obj) is abc.ABCMeta and
not (issubclass(type(obj), abc.ABCMeta) and
len(obj.__slots__) == 0)
)

Expand Down

0 comments on commit a867f77

Please sign in to comment.