(self, state)
| 231 | return d |
| 232 | |
| 233 | def __setstate__(self, state): |
| 234 | object.__setattr__(self, 'int', state['int']) |
| 235 | # is_safe was added in 3.7; it is also omitted when it is "unknown" |
| 236 | object.__setattr__(self, 'is_safe', |
| 237 | SafeUUID(state['is_safe']) |
| 238 | if 'is_safe' in state else SafeUUID.unknown) |
| 239 | |
| 240 | def __eq__(self, other): |
| 241 | if isinstance(other, UUID): |
no test coverage detected