On Sun, Apr 04, 2010 at 12:10:02PM +0000, Steven D'Aprano wrote:
 
> I can implement this tree using a flat dict:
> 
> root = object()
> data = {root: ['Mammal', 'Reptile'], 

What is the advantage, or thougth behind, using an instance
of object as the root of your flat tree ?
egbert

-- 
Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991
========================================================================
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to