Returns True if a _sunder_ name, False otherwise.
(name)
| 56 | ) |
| 57 | |
| 58 | def _is_sunder(name): |
| 59 | """ |
| 60 | Returns True if a _sunder_ name, False otherwise. |
| 61 | """ |
| 62 | return ( |
| 63 | len(name) > 2 and |
| 64 | name[0] == name[-1] == '_' and |
| 65 | name[1] != '_' and |
| 66 | name[-2] != '_' |
| 67 | ) |
| 68 | |
| 69 | def _is_internal_class(cls_name, obj): |
| 70 | # do not use `re` as `re` imports `enum` |
no outgoing calls
no test coverage detected
searching dependent graphs…