Antoine Pitrou <[email protected]> added the comment: + def __eq__(self, other): + r = (type(self) == type(other)) + if r: + return r
I think this should be "if not r". ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
