From: Raymond Hettinger Date: Tue, 7 May 2013 01:21:10 +0000 (-0700) Subject: Issue 17920: Fix-up terminology in the set documentation X-Git-Tag: v2.7.5~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a74e5c809b3b13607bbbbfbbb6d789fb0d35a0e4;p=thirdparty%2FPython%2Fcpython.git Issue 17920: Fix-up terminology in the set documentation --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index d4bf4484825b..76345e58f7f8 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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``: ``ab``. Accordingly, sets do not implement the :meth:`__cmp__` method.