(self, attr)
| 186 | __copy__ = __deepcopy__ |
| 187 | |
| 188 | def __getattr__(self, attr): |
| 189 | if attr in self._options: |
| 190 | return self._options[attr].current() |
| 191 | else: |
| 192 | raise AttributeError("No such option: %s" % attr) |
| 193 | |
| 194 | def __setattr__(self, attr, value): |
| 195 | # This is slightly tricky. We allow attributes to be set on the instance |