(typ)
| 835 | bases = set(cls.__mro__) |
| 836 | # Remove entries which are already present in the __mro__ or unrelated. |
| 837 | def is_related(typ): |
| 838 | return (typ not in bases and hasattr(typ, '__mro__') |
| 839 | and not isinstance(typ, GenericAlias) |
| 840 | and issubclass(cls, typ)) |
| 841 | types = [n for n in types if is_related(n)] |
| 842 | # Remove entries which are strict bases of other entries (they will end up |
| 843 | # in the MRO anyway. |
no outgoing calls
no test coverage detected
searching dependent graphs…