> def __init__(self, d=None): > if not d: > > I would use > if d is None: > so the user can explicitly pass e.g. an empty dict.
Good catch. I agree. Alan G. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
