Peter Otten wrote:

> mylist = list(myset)
> Do you notice the similarity to converting a list to a set?
> 
There was something confusing me yesterday in doing that, but (for me 
strangely) I got cleared out.

The point was that after a result from:

newset= set(myset1) & set(myset2)
list= [newset]

<< [{'bla', 'alb', 'lab'}]

Probably list(set) is not like [set].

-- 
goto /dev/null
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to