(self, name)
| 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 | |
| 120 | from threading import current_thread, RLock |