List append help
miki.tebeka at zoran.com
Sun Mar 14 08:22:41 CET 2004
> Could someone please tell me why the "hireCrew"
> method in the following code leaves me with a list that contains "None"?
> self.myCrew = self.myCrew.append(argHire)
The return value of list.append is None. However it does add the item to
the list. Try:
On a side note, I find this `arg' prefix for an argument irritating :-)
More information about the Python-list