Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f73b4b0

Browse files
committed
bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
1 parent 9a65d58 commit f73b4b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/lib/libstdtypes.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,9 @@ \subsubsection{Mutable Sequence Types \label{typesseq-mutable}}
11461146
because \var{cmp} is called multiple times for each list element while
11471147
\var{key} and \var{reverse} touch each element only once.
11481148

1149+
\note{If both \var{key} and \var{cmp} are supplied the \var{key}
1150+
function is applied before the \var{cmp} function.}
1151+
11491152
\versionchanged[Support for \code{None} as an equivalent to omitting
11501153
\var{cmp} was added]{2.3}
11511154

0 commit comments

Comments
 (0)