Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a867f77

Browse files
authored
Merge pull request astropy#133 from pkgw/issue-132
2 parents 39609d0 + 403620a commit a867f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx_automodapi/automodsumm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def get_members_class(obj, typ, include_public=[],
539539
# class `__dict__` instead.
540540
declares_slots = (
541541
hasattr(obj, '__slots__') and
542-
not (type(obj) is abc.ABCMeta and
542+
not (issubclass(type(obj), abc.ABCMeta) and
543543
len(obj.__slots__) == 0)
544544
)
545545

0 commit comments

Comments
 (0)