From a6f52786b74c97d22cb136d0a3b7e36bdd2316ab Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 1 Sep 2007 15:49:30 +0000 Subject: Document sets' "<" and ">" operations. --- Doc/library/stdtypes.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 6a7044f..9ce63d9 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1557,11 +1557,21 @@ operations: Test whether every element in the set is in *other*. +.. method:: set < other + + Test whether the set is a true subset of *other*, that is, + ``set <= other and set != other``. + .. method:: set.issuperset(other) set >= other Test whether every element in *other* is in the set. +.. method:: set > other + + Test whether the set is a true superset of *other*, that is, + ``set >= other and set != other``. + .. method:: set.union(other) set | other -- cgit v0.12