Return the hash of the serialized object
(self)
| 136 | raise AttributeError('Object is immutable') |
| 137 | |
| 138 | def GetHash(self): |
| 139 | """Return the hash of the serialized object""" |
| 140 | try: |
| 141 | return self._cached_GetHash |
| 142 | except AttributeError: |
| 143 | _cached_GetHash = super(ImmutableSerializable, self).GetHash() |
| 144 | object.__setattr__(self, '_cached_GetHash', _cached_GetHash) |
| 145 | return _cached_GetHash |
| 146 | |
| 147 | def __hash__(self): |
| 148 | try: |
nothing calls this directly
no test coverage detected