mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Closes issue #24405: mark set display as code.
This commit is contained in:
parent
d741a88049
commit
f5d4523844
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue