summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-26 15:04:33 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-26 15:04:33 (GMT)
commitef7d08a661dc28c732f4738cb328a74b32ce435b (patch)
treedd891fff3b3f09259aab69f87202e6dcf19dfd86
parent3eedf718b300aa0a11205b484a6b12220d45c984 (diff)
downloadcpython-ef7d08a661dc28c732f4738cb328a74b32ce435b.zip
cpython-ef7d08a661dc28c732f4738cb328a74b32ce435b.tar.gz
cpython-ef7d08a661dc28c732f4738cb328a74b32ce435b.tar.bz2
Some style changes and typo fixes.
-rw-r--r--Doc/lib/libfuncs.tex15
1 files changed, 9 insertions, 6 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index e9baeb3..222a061 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -189,12 +189,15 @@ def my_import(name):
dictionary.
For example, these all return a dictionary equal to
\code{\{1: 2, 2: 3\}}:
- \code{dictionary(\{1: 2, 2: 3\})},
- \code{dictionary(\{1: 2, 2: 3\}.items()},
- \code{dictionary(\{1: 2, 2: 3\}.iteritems()},
- \code{dictionary(zip((1, 2), (2, 3)))},
- \code{dictionary([[2, 3], [1, 2]])}, and
- \code{dictionary([(i-1, i) for i in (2, 3)])}.
+
+ \begin{itemize}
+ \item \code{dictionary(\{1: 2, 2: 3\})}
+ \item \code{dictionary(\{1: 2, 2: 3\}.items())}
+ \item \code{dictionary(\{1: 2, 2: 3\}.iteritems())}
+ \item \code{dictionary(zip((1, 2), (2, 3)))}
+ \item \code{dictionary([[2, 3], [1, 2]])}
+ \item \code{dictionary([(i-1, i) for i in (2, 3)])}
+ \end{itemize}
\end{funcdesc}
\begin{funcdesc}{dir}{\optional{object}}