From: Fred Drake Date: Tue, 30 Dec 2003 20:48:59 +0000 (+0000) Subject: fix markup errors X-Git-Tag: v2.4a1~1027 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcf32a676e63726c273a30e5a8b26c747c0f0dea;p=thirdparty%2FPython%2Fcpython.git fix markup errors --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index f7a586691927..7823b1b46283 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.