What have I missed with the lists?? Flattening two trees..

Andrew Markebo flognat at flognat.myip.org
Sat Mar 2 03:59:50 EST 2002


ahh if i do 

alist=[]
blist=[]
print a.flatten(alist)
print b.flatten(blist)

instead, it works as it shouldhmm what have I missed? is the default
list to the dig function initialized at first parse, and not runtime
as I thought?

        /Andy
| 
| print a.flatten()
| print b.flatten()
| 
| -- 
|  The eye of the beholder rests on the beauty!

-- 
 The eye of the beholder rests on the beauty!



More information about the Python-list mailing list