(self, name)
| 143 | self.__dict__[name] = value |
| 144 | |
| 145 | def __delattr__(self, name): |
| 146 | try: |
| 147 | del self.__dict__[name] |
| 148 | if not is_builtin(name): |
| 149 | self.__keylist__.remove(name) |
| 150 | except: |
| 151 | cls = self.__class__.__name__ |
| 152 | raise AttributeError("%s has no attribute '%s'" % (cls, name)) |
| 153 | |
| 154 | def __getitem__(self, name): |
| 155 | if isinstance(name, int): |
nothing calls this directly
no test coverage detected