From: Martin v. Löwis Date: Sat, 31 May 2003 08:05:49 +0000 (+0000) Subject: Patch #744238: Explain that different string types also may compare equal. X-Git-Tag: v2.3c1~555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19a5a710fc69f11960718b56d056f6b0d1872851;p=thirdparty%2FPython%2Fcpython.git Patch #744238: Explain that different string types also may compare equal. --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index f5314093c667..38440feae8a9 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