summaryrefslogtreecommitdiffstats
path: root/Doc/reference/expressions.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-06-12 19:44:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-06-12 19:44:45 (GMT)
commitf5d4523844cad49074a562bad4a7095ed955640d (patch)
tree865c0e4d6810be0d26b260b8ec1fc295f48e2878 /Doc/reference/expressions.rst
parentd741a880497b8458ef068c111caa64546166e3ff (diff)
downloadcpython-f5d4523844cad49074a562bad4a7095ed955640d.zip
cpython-f5d4523844cad49074a562bad4a7095ed955640d.tar.gz
cpython-f5d4523844cad49074a562bad4a7095ed955640d.tar.bz2
Closes issue #24405: mark set display as code.
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r--Doc/reference/expressions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 2d19660..dd3cb9e 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.