On Thu, Jul 25, 2013 at 3:48 PM, Steven D'Aprano <[email protected]> wrote: > Dicts aren't sets, and don't support set methods: > > py> d1 - d2 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: unsupported operand type(s) for -: 'dict' and 'dict'
I wouldn't take this as particularly significant, though. A future version of Python could add that support (and it might well be very useful), without breaking any of the effects of views. ChrisA -- http://mail.python.org/mailman/listinfo/python-list
