]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #744238: Explain that different string types also may compare equal.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 31 May 2003 08:05:49 +0000 (08:05 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 31 May 2003 08:05:49 +0000 (08:05 +0000)
Doc/lib/libstdtypes.tex

index f5314093c667e0452fa8d3f356e174a7b73fb120..38440feae8a9ca4e57006a40d1e0b1cad09bd93f 100644 (file)
@@ -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