[Python-3000-checkins] r57875 - python/branches/py3k/Doc/library/stdtypes.rst

georg.brandl python-3000-checkins at python.org
Sat Sep 1 17:49:48 CEST 2007


Author: georg.brandl
Date: Sat Sep  1 17:49:30 2007
New Revision: 57875

Modified:
   python/branches/py3k/Doc/library/stdtypes.rst
Log:
Document sets' "<" and ">" operations.


Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Sat Sep  1 17:49:30 2007
@@ -1557,11 +1557,21 @@
 
    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
 


More information about the Python-3000-checkins mailing list