]> granicus.if.org Git - python/commitdiff
Issue 17920: Fix-up terminology in the set documentation
authorRaymond Hettinger <python@rcn.com>
Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)
Doc/library/stdtypes.rst

index 3763958fc9f175298deb821eb22ac43e3f42f3af..e7c777bc9dd826b29618b66a670e354d60b00bf7 100644 (file)
@@ -2909,8 +2909,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 nonempty 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``.