]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 17920: Fix-up terminology in the set documentation
authorRaymond Hettinger <python@rcn.com>
Tue, 7 May 2013 01:21:10 +0000 (18:21 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 7 May 2013 01:21:10 +0000 (18:21 -0700)
Doc/library/stdtypes.rst

index d4bf4484825ba0b88cc7ac38c52cffc69c2fa299..76345e58f7f87e1810d15987b4710b3ba37b84a7 100644 (file)
@@ -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.