summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-12-30 20:48:59 (GMT)
committerFred Drake <fdrake@acm.org>2003-12-30 20:48:59 (GMT)
commitdcf32a676e63726c273a30e5a8b26c747c0f0dea (patch)
treec4ae59f486b1b9536c6ed1259134f694a680ccc3 /Doc/lib
parentb0e8f5d0fecd2368d2119d7acf8bd7a6d522f3e6 (diff)
downloadcpython-dcf32a676e63726c273a30e5a8b26c747c0f0dea.zip
cpython-dcf32a676e63726c273a30e5a8b26c747c0f0dea.tar.gz
cpython-dcf32a676e63726c273a30e5a8b26c747c0f0dea.tar.bz2
fix markup errors
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libfuncs.tex5
1 files 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.