Yeah, this is what I'm talking about: > def __eq__(self, other) : > try : > return <> > except AttributeError: > return False
That seems a bit nasty to me. -- http://mail.python.org/mailman/listinfo/python-list
Yeah, this is what I'm talking about: > def __eq__(self, other) : > try : > return <> > except AttributeError: > return False
That seems a bit nasty to me. -- http://mail.python.org/mailman/listinfo/python-list