File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1451,15 +1451,15 @@ def format_args(self, **kwargs: Any) -> str:
1451
1451
# Types which have confusing metaclass signatures it would be best not to show.
1452
1452
# These are listed by name, rather than storing the objects themselves, to avoid
1453
1453
# needing to import the modules.
1454
- _METACLASS_CALL_BLACKLIST = [
1454
+ _METACLASS_CALL_BLACKLIST = frozenset ({
1455
1455
'enum.EnumMeta.__call__' ,
1456
- ]
1456
+ })
1457
1457
1458
1458
1459
1459
# Types whose __new__ signature is a pass-through.
1460
- _CLASS_NEW_BLACKLIST = [
1460
+ _CLASS_NEW_BLACKLIST = frozenset ({
1461
1461
'typing.Generic.__new__' ,
1462
- ]
1462
+ })
1463
1463
1464
1464
1465
1465
class ClassDocumenter (DocstringSignatureMixin , ModuleLevelDocumenter ): # type: ignore[misc]
You can’t perform that action at this time.
0 commit comments