diff -r e17be189a448 Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst Fri Oct 08 18:46:17 2010 +0200 +++ b/Doc/library/stdtypes.rst Fri Oct 08 20:59:17 2010 +0200 @@ -2210,9 +2210,14 @@ Keys views are set-like since their entries are unique and hashable. If all values are hashable, so that (key, value) pairs are unique and hashable, then the items view is also set-like. (Values views are not treated as set-like -since the entries are generally not unique.) Then these set operations are +since the entries are generally not unique.) For set-like views, all of the +syntax operations on sets (but none of the named methods, like set.copy) are available ("other" refers either to another view or a set): +.. describe:: dictview < / <= / == / != / >= / > other + + The same result as the corresponding operation on two sets. + .. describe:: dictview & other Return the intersection of the dictview and the other object as a new set.