Commit f5d45238 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Closes issue #24405: mark set display as code.

parent d741a880
...@@ -1095,7 +1095,7 @@ Comparison of objects of the same type depends on the type: ...@@ -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 * Sets and frozensets define comparison operators to mean subset and superset
tests. Those relations do not define total orderings (the two sets ``{1,2}`` 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 another). Accordingly, sets are not appropriate arguments for functions
which depend on total ordering. For example, :func:`min`, :func:`max`, and which depend on total ordering. For example, :func:`min`, :func:`max`, and
:func:`sorted` produce undefined results given a list of sets as inputs. :func:`sorted` produce undefined results given a list of sets as inputs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment