pychecker - sets.Set need to be overridden

wittempj at hotmail.com wittempj at hotmail.com
Mon Jan 17 11:07:04 EST 2005


mport sets

class Foo:
def __init__(self):
self.x = sets.Set()

x = Foo()
print x, getattr(x, 'x')

gives for me:
<__main__.Foo instance at 0x00C578A0> Set([])
on 2.4. on WinXP. What environment do you run in?




More information about the Python-list mailing list