def __init__(self) --> TypeError: Not a sequence?
Duncan Booth
duncan at NOSPAMrcp.co.uk
Thu Jan 24 04:24:54 EST 2002
"Ixokai" <ixokai at directvinternet.com> wrote in
news:3c4fcdd1$1_1 at nopics.sjc:
> Stripped down code w/ Python2.2:
<code snipped>
> Then, at import, I receive: "TypeError: Not a sequence" at each of the
> __init__ lines. I am baffled. :) What am I not understanding here? :)
>
Well, your stripped down code seems to work (except for the Thingy/Thing
misspelling, and I had to replace the initialization expressions with
something meaningful). You could try producing some stripped down code that
is actually runnable. If it works for you as well, then the problem is in
something you stripped out, if not then posting the runnable code would be
elpful.
--
Duncan Booth duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
More information about the Python-list
mailing list