From: Georg Brandl Date: Sun, 3 Jul 2005 20:22:13 +0000 (+0000) Subject: backport bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage X-Git-Tag: v2.4.2c1~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=502d059b78cbb998f4897597039a2ee52e1aee0e;p=thirdparty%2FPython%2Fcpython.git backport bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 65e96bf0f7cf..9d1d9b18b747 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1146,6 +1146,9 @@ Notes: because \var{cmp} is called multiple times for each list element while \var{key} and \var{reverse} touch each element only once. + \note{If both \var{key} and \var{cmp} are supplied the \var{key} + function is applied before the \var{cmp} function.} + \versionchanged[Support for \code{None} as an equivalent to omitting \var{cmp} was added]{2.3}