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

Method __delattr__

Lib/_threading_local.py:111–117  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

109 return object.__setattr__(self, name, value)
110
111 def __delattr__(self, name):
112 if name == '__dict__':
113 raise AttributeError(
114 "%r object attribute '__dict__' is read-only"
115 % self.__class__.__name__)
116 with _patch(self):
117 return object.__delattr__(self, name)
118
119
120from threading import current_thread, RLock

Callers

nothing calls this directly

Calls 1

_patchFunction · 0.70

Tested by

no test coverage detected