]> granicus.if.org Git - python/commit
Removed < <= > >= from the API. Implemented as comparisons of the
authorRaymond Hettinger <python@rcn.com>
Sat, 24 Aug 2002 07:33:06 +0000 (07:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 24 Aug 2002 07:33:06 +0000 (07:33 +0000)
commite87ab3fefed00618992f5fe60a95ec9487e6303f
tree60598399122a01dffbe0134621b368aa54253eaf
parentbf935fde1550b768d9fb14cec230d1e79a5212c2
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.
Doc/lib/libsets.tex
Lib/sets.py
Lib/test/test_sets.py