]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix markup errors
authorFred Drake <fdrake@acm.org>
Tue, 30 Dec 2003 20:48:59 +0000 (20:48 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 30 Dec 2003 20:48:59 +0000 (20:48 +0000)
Doc/lib/libfuncs.tex

index f7a586691927a56ef5393ae62dd2d9699cff001b..7823b1b46283909249ca73eda6f389421d526cf1 100644 (file)
@@ -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.