[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.170.2.11, 1.170.2.12
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Sun Jul 3 22:22:15 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5460/Doc/lib
Modified Files:
Tag: release24-maint
libstdtypes.tex
Log Message:
backport bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.170.2.11
retrieving revision 1.170.2.12
diff -u -d -r1.170.2.11 -r1.170.2.12
--- libstdtypes.tex 1 Jul 2005 23:25:27 -0000 1.170.2.11
+++ libstdtypes.tex 3 Jul 2005 20:22:13 -0000 1.170.2.12
@@ -1146,6 +1146,9 @@
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}
More information about the Python-checkins
mailing list