Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 29343:e4f70e602598 legacy-trunk
Patch #744238: Explain that different string types also may compare equal.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 31 May 2003 08:05:49 +0000 |
| parents | 04065c4a1c6b |
| children | d761ff55b3be |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Sat May 31 08:02:38 2003 +0000 +++ b/Doc/lib/libstdtypes.tex Sat May 31 08:05:49 2003 +0000 @@ -144,7 +144,7 @@ \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
