summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsets.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-08-24 07:33:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-08-24 07:33:06 (GMT)
commite87ab3fefed00618992f5fe60a95ec9487e6303f (patch)
tree60598399122a01dffbe0134621b368aa54253eaf /Doc/lib/libsets.tex
parentbf935fde1550b768d9fb14cec230d1e79a5212c2 (diff)
downloadcpython-e87ab3fefed00618992f5fe60a95ec9487e6303f.zip
cpython-e87ab3fefed00618992f5fe60a95ec9487e6303f.tar.gz
cpython-e87ab3fefed00618992f5fe60a95ec9487e6303f.tar.bz2
Removed < <= > >= from the API. Implemented as comparisons of the
underlying dictionaries, there were no reasonable use cases (lexicographic sorting of a list of sets is somewhat esoteric). Frees the operators for other uses (such as strict subset and superset comparisons). Updated documentation and test suite accordingly.
Diffstat (limited to 'Doc/lib/libsets.tex')
-rw-r--r--Doc/lib/libsets.tex5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/lib/libsets.tex b/Doc/lib/libsets.tex
index 5f199a0..8ce62c889 100644
--- a/Doc/lib/libsets.tex
+++ b/Doc/lib/libsets.tex
@@ -100,9 +100,8 @@ the following operations:
\end{tableii}
In addition to the above operations, both \class{Set} and \class{ImmutableSet}
-support set to set comparison operators based on the contents of their
-internal dictionaries. Two sets are equal if and only if every element of
-each set is contained in the other.
+support set to set equality comparisons. Two sets are equal if and only if
+every element of each set is contained in the other.
The following table lists operations available in \class{ImmutableSet}
but not found in \class{Set}: