pychecker - sets.Set need to be overridden

Istvan Albert ialbert at mailblocks.com
Mon Jan 17 10:46:30 EST 2005


Hello all,

if I have this code:

import sets

class Foo:
     x = sets.Set()

then pychecker says:

test.py:4: Methods (__cmp__, __hash__) in sets.Set need to be overridden in a subclass

I don't get this message. What is it trying to say, and why?

Istvan.



More information about the Python-list mailing list