MCPcopy Index your code
hub / github.com/python/cpython / __setattr__

Method __setattr__

Lib/uuid.py:328–329  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

326 return '%s(%r)' % (self.__class__.__name__, str(self))
327
328 def __setattr__(self, name, value):
329 raise TypeError('UUID objects are immutable')
330
331 def __str__(self):
332 x = self.hex

Callers 6

__post_init__Method · 0.45
_dataclass_setstateFunction · 0.45
__init__Method · 0.45
_from_intMethod · 0.45
__setstate__Method · 0.45
__post_init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected