Steve Holden <[EMAIL PROTECTED]> wrote: ... > > livibetter has a better solution. the reason is that you need to > > create a new list object everytime, am I right? > > > Yes, specifically on every *call*.
...and livibetter's solution also creates a new list on every call to Child (that [] passed on to Parent.__init__ does exactly that). Alex -- http://mail.python.org/mailman/listinfo/python-list