def __init__(self) --> TypeError: Not a sequence?

Ixokai ixokai at directvinternet.com
Thu Jan 24 04:03:36 EST 2002


I'm confused :)

Stripped down code w/ Python2.2:

class _ObjectStore(object):
    def __init__(self):
        self.blah = basic-initialization-for-everything

class _SpecificThingyStore(_ObjectStore):
    def __init__(self):
        super(_SpecificThingStore, self).__init__()
        self.blah2 = specific-initialiation-for-everything

Then, at import, I receive: "TypeError: Not a sequence" at each of the
__init__ lines. I am baffled. :) What am I not understanding here? :)

Thanks in advance.

--Stephen







More information about the Python-list mailing list