No constructor calls?

Arinte jamarijr at hotmail.com
Fri Dec 31 08:37:18 EST 1999


When I have this code the constructor is called

xpac=PossDevice.PossArg("12345678",21)
devlist.append( xpac )

but, this code doesn't seem to function

devlist.append( PossDevice.PossArg("12345678",21) )

Is the second one invalid or something?  How can I do the first one in
one
call?

TIA





Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list