summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-03 20:21:40 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-03 20:21:40 (GMT)
commitf73b4b007798e8c088280a9e25be7cc66e470435 (patch)
tree4b16fc9d9b63412032d47122054c37792649e6d7 /Doc
parent9a65d583ac454a09ccb0c8e42eb4c496f6185653 (diff)
downloadcpython-f73b4b007798e8c088280a9e25be7cc66e470435.zip
cpython-f73b4b007798e8c088280a9e25be7cc66e470435.tar.gz
cpython-f73b4b007798e8c088280a9e25be7cc66e470435.tar.bz2
bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 65e96bf..9d1d9b1 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}