(self)
| 62 | name, self.__class__.__name__)) |
| 63 | |
| 64 | def __repr__(self): |
| 65 | args = [ "{}={!r}".format(name, value) |
| 66 | for name, value in self.__dict__.items() ] |
| 67 | return "{}({})".format(self.__class__.__name__, ', '.join(args)) |
| 68 | |
| 69 | def clone(self, **kw): |
| 70 | """Return a new instance with specified attributes changed. |