(C, *methods)
| 106 | ### ONE-TRICK PONIES ### |
| 107 | |
| 108 | def _check_methods(C, *methods): |
| 109 | mro = C.__mro__ |
| 110 | for method in methods: |
| 111 | for B in mro: |
| 112 | if method in B.__dict__: |
| 113 | if B.__dict__[method] is None: |
| 114 | return NotImplemented |
| 115 | break |
| 116 | else: |
| 117 | return NotImplemented |
| 118 | return True |
| 119 | |
| 120 | class Hashable(metaclass=ABCMeta): |
| 121 |
no outgoing calls
no test coverage detected
searching dependent graphs…