MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __delattr__

Method __delattr__

example_code/item_056_example_12.py:41–42  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

39 raise AttributeError("Immutable object")
40
41 def __delattr__(self, key: str) -> Never:
42 raise AttributeError("Immutable object")
43
44
45origin = ImmutablePoint("origin", 0, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected