]> granicus.if.org Git - python/commit
Make dict.keys() and dict.items() comparable to sets, using == and !=.
authorGuido van Rossum <guido@python.org>
Mon, 12 Feb 2007 02:23:40 +0000 (02:23 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Feb 2007 02:23:40 +0000 (02:23 +0000)
commitd9214d1f2cd9402e98c14809d17076e5f1db4167
tree532da8aaf06cbaa4e4a3539e40e9506adef619ff
parente19aad4c7b4804b4a13aca3999363f9d33a4fa75
Make dict.keys() and dict.items() comparable to sets, using == and !=.
(PEP 3106 requires subset comparisons too, those will come later if someone
really wants them. :-)
Lib/test/test_dictviews.py
Objects/dictobject.c