Skip to content

Commit f5d4523

Browse files
committed
Closes issue #24405: mark set display as code.
1 parent d741a88 commit f5d4523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ Comparison of objects of the same type depends on the type:
10951095

10961096
* Sets and frozensets define comparison operators to mean subset and superset
10971097
tests. Those relations do not define total orderings (the two sets ``{1,2}``
1098-
and {2,3} are not equal, nor subsets of one another, nor supersets of one
1098+
and ``{2,3}`` are not equal, nor subsets of one another, nor supersets of one
10991099
another). Accordingly, sets are not appropriate arguments for functions
11001100
which depend on total ordering. For example, :func:`min`, :func:`max`, and
11011101
:func:`sorted` produce undefined results given a list of sets as inputs.

0 commit comments

Comments
 (0)