Commit a74e5c80 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 17920: Fix-up terminology in the set documentation

parent f16ff7bc
......@@ -1849,8 +1849,8 @@ The constructors for both classes work the same:
based on their members. For example, ``set('abc') == frozenset('abc')``
returns ``True`` and so does ``set('abc') in set([frozenset('abc')])``.
The subset and equality comparisons do not generalize to a complete ordering
function. For example, any two disjoint sets are not equal and are not
The subset and equality comparisons do not generalize to a total ordering
function. For example, any two non-empty disjoint sets are not equal and are not
subsets of each other, so *all* of the following return ``False``: ``a<b``,
``a==b``, or ``a>b``. Accordingly, sets do not implement the :meth:`__cmp__`
method.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment