On Saturday 02 April 2005 09:51 pm, James Stroud wrote:
> where team could be initialized by a tuple:
>
> � class Team(list):
> � � def __init__(self, azip):
> � � � for azip in alist:
> � � � � self.data.append(Player(atup))
Sorry, this should read:
where team could be initialized by a list of tuples:
class Team(list):
def __init__(self, azip):
for atup in azip:
self.data.append(Player(atup))
--
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
http://mail.python.org/mailman/listinfo/python-list