(self, key)
| 2182 | |
| 2183 | # Deprecated ConfigDict features |
| 2184 | def __getattr__(self, key): |
| 2185 | depr('Attribute access is deprecated.') #0.12 |
| 2186 | if key not in self and key[0].isupper(): |
| 2187 | self[key] = self.Namespace(self, key) |
| 2188 | if key not in self and key.startswith('__'): |
| 2189 | raise AttributeError(key) |
| 2190 | return self.get(key) |
| 2191 | |
| 2192 | def __setattr__(self, key, value): |
| 2193 | if key in self.__slots__: |