(cls, *names)
| 165 | |
| 166 | |
| 167 | def _inherits(cls, *names): |
| 168 | if cls.__name__ in names: |
| 169 | return True |
| 170 | inherits_node = False |
| 171 | for base in inspect.getmro(cls): |
| 172 | if base.__name__ in names: |
| 173 | inherits_node = True |
| 174 | break |
| 175 | return inherits_node |
| 176 | |
| 177 | |
| 178 | _IGNORE_RENDER_OF_CLASSES = ("TextNode", "NodeList") |
no outgoing calls
no test coverage detected