"cptn.spoon" <cptn.sp...@gmail.com> writes:
>   def __init__(self, stockname, stockpricelist[], stockrisk,
> stockqty): ...

You would say just stockpricelist rather than stockpricelist[],  but
other than that your class def looks good.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to