Jakub Stolarski <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Version 1 and 2 do different thing than version 3. The latter doesn't > add value to dict. > > As it was mentioned before, use: > 1 - if you expect that there's no key in dict > 2 - if you expect that there is key in dict > I may be missing something but I think the 3 approaches are completely equivalent in terms of functionality. ./alex -- .w( the_mindstorm )p. -- http://mail.python.org/mailman/listinfo/python-list