dynamic naming for hierarchical data problem

Erik Max Francis max at alcyone.com
Thu Aug 9 02:09:33 EDT 2001


gzeljko wrote:

> You can begin with:
> 
> class MyTree:
>   def __init__(self):
>     d = {}

Should be

	self.d = {}

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Love is like war:  easy to begin but very hard to stop.
\__/ H.L. Mencken
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.



More information about the Python-list mailing list