On 09/08/06, Alan Gauld <[EMAIL PROTECTED]> wrote:
> But type is still not accessible as an attribute.
> It looked to me like he wanted a list of dictionaries
> in which case it wouyld be:
>
> if teststring in [s['type'] for s in all_types]

Err, that is what I meant :-)

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to