Update locals() / resolved

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Sun Apr 28 17:06:05 EDT 2002


In article <PNFy8.28407$8D3.758650 at news1.tin.it>, Alex Martelli wrote:
>holger krekel wrote:
>        ...
>> ok. i found a nice workaround (if one dare call it that:-)
>> 
>> class dictlookup(type({})):

Why use type({}) when you can use dict?

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list