From: Terry Jan Reedy Date: Fri, 12 Jun 2015 19:44:45 +0000 (-0400) Subject: Closes issue #24405: mark set display as code. X-Git-Tag: v3.5.0b3~72^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5d4523844cad49074a562bad4a7095ed955640d;p=python Closes issue #24405: mark set display as code. --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 2d19660ae7..dd3cb9e6ba 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1095,7 +1095,7 @@ Comparison of objects of the same type depends on the type: * Sets and frozensets define comparison operators to mean subset and superset tests. Those relations do not define total orderings (the two sets ``{1,2}`` - and {2,3} are not equal, nor subsets of one another, nor supersets of one + and ``{2,3}`` are not equal, nor subsets of one another, nor supersets of one another). Accordingly, sets are not appropriate arguments for functions which depend on total ordering. For example, :func:`min`, :func:`max`, and :func:`sorted` produce undefined results given a list of sets as inputs.