From dcf32a676e63726c273a30e5a8b26c747c0f0dea Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 30 Dec 2003 20:48:59 +0000 Subject: fix markup errors --- Doc/lib/libfuncs.tex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index f7a5866..7823b1b 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -884,9 +884,8 @@ class C(object): \samp{a[start:stop, i]}. \end{funcdesc} -\begin{funcdesc}{sorted(\var{iterable}\optional{, \var{cmp}=None - \optional{, \var{key}=None - \optional{, \var{reverse}=False}}})} +\begin{funcdesc}{sorted}{iterable\optional{, cmp\optional{, + key\optional{, reverse}}}} Return a new sorted list from the items in \var{iterable}. The optional arguments \var{cmp}, \var{key}, and \var{reverse} have the same meaning as those for the \method{list.sort()} method. -- cgit v0.12