Jim Qiu wrote:
> Hi everyone,
> 
> Following is the code i am reading, i don't see anywhere the declaration of
> Message.root object,
> Where is it from?
...

Prehaps it gets assigned by the parent itself?
Like this:

  def spawn_child(self):
    child = Message()
    child.root = self

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to