At 2008-06-18T10:32:48Z, [EMAIL PROTECTED] writes: > # untested 2.5 > for keys in dict_one.items(): > if keys in dict_two: > if dict_one[keys] != dict_two[keys]: > # values are different > else: > # key is not present
That fails if there is an item in dict_two that's not in dict_one. -- Kirk Strauser The Day Companies -- http://mail.python.org/mailman/listinfo/python-list