Returns True if obj is a descriptor, False otherwise.
(obj)
| 36 | self.value = value |
| 37 | |
| 38 | def _is_descriptor(obj): |
| 39 | """ |
| 40 | Returns True if obj is a descriptor, False otherwise. |
| 41 | """ |
| 42 | return ( |
| 43 | hasattr(obj, '__get__') or |
| 44 | hasattr(obj, '__set__') or |
| 45 | hasattr(obj, '__delete__') |
| 46 | ) |
| 47 | |
| 48 | def _is_dunder(name): |
| 49 | """ |
no outgoing calls
no test coverage detected