summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-05-31 08:05:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-05-31 08:05:49 (GMT)
commit19a5a710fc69f11960718b56d056f6b0d1872851 (patch)
treee4973399c3afca5b118b82e1973beb89e49b8eb6
parent74723364444dec7003940cb6f226ec1b5947e877 (diff)
downloadcpython-19a5a710fc69f11960718b56d056f6b0d1872851.zip
cpython-19a5a710fc69f11960718b56d056f6b0d1872851.tar.gz
cpython-19a5a710fc69f11960718b56d056f6b0d1872851.tar.bz2
Patch #744238: Explain that different string types also may compare equal.
-rw-r--r--Doc/lib/libstdtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index f531409..38440fe 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -144,7 +144,7 @@ Notes:
\end{description}
-Objects of different types, except different numeric types, never
+Objects of different types, except different numeric types and different string types, never
compare equal; such objects are ordered consistently but arbitrarily
(so that sorting a heterogeneous array yields a consistent result).
Furthermore, some types (for example, file objects) support only a