Issue 17920: Fix-up terminology in the set documentation

This commit is contained in:
Raymond Hettinger 2013-05-06 18:22:43 -07:00
parent a7f7deb6ed
commit 12f588adeb

View file

@ -2909,8 +2909,8 @@ The constructors for both classes work the same:
based on their members. For example, ``set('abc') == frozenset('abc')`` based on their members. For example, ``set('abc') == frozenset('abc')``
returns ``True`` and so does ``set('abc') in set([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 The subset and equality comparisons do not generalize to a total ordering
function. For example, any two disjoint sets are not equal and are not function. For example, any two nonempty disjoint sets are not equal and are not
subsets of each other, so *all* of the following return ``False``: ``a<b``, subsets of each other, so *all* of the following return ``False``: ``a<b``,
``a==b``, or ``a>b``. ``a==b``, or ``a>b``.