Mike Meyer wrote: > Wouldn't one.__dict__ = dict(**two.__dict__) be a bit better? >
Those stars are redundant here. It would be cleaner to write: one.__dict__ = dict(two.__dict__) -- http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote: > Wouldn't one.__dict__ = dict(**two.__dict__) be a bit better? >
Those stars are redundant here. It would be cleaner to write: one.__dict__ = dict(two.__dict__) -- http://mail.python.org/mailman/listinfo/python-list