nesting objects

Jp Calderone exarkun at intarweb.us
Tue Feb 11 19:52:00 EST 2003


On Wed, Feb 12, 2003 at 12:34:40AM +0000, Jef Mangelschots wrote:
> class C2:
>     c2_1 = ""
>     def __init__(self):
>         aggregate  = C1()

  This should be:

          self.aggregate = C1()


  Jp

-- 
 up 3 days, 4:28, 7 users, load average: 0.00, 0.02, 0.12
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030211/1d1be99b/attachment.sig>


More information about the Python-list mailing list