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
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins