]> granicus.if.org Git - python/commitdiff
bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
authorGeorg Brandl <georg@python.org>
Sun, 3 Jul 2005 20:21:40 +0000 (20:21 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 3 Jul 2005 20:21:40 +0000 (20:21 +0000)
Doc/lib/libstdtypes.tex

index 65e96bf0f7cf7f5bb597169e01906c438b76118a..9d1d9b18b7472a9e97c1209984172f1c05ea4a16 100644 (file)
@@ -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}