summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMoshe Zadka <moshez@math.huji.ac.il>2000-11-30 19:30:21 (GMT)
committerMoshe Zadka <moshez@math.huji.ac.il>2000-11-30 19:30:21 (GMT)
commit5725d1eb034193e521dfe5febd675fb84e6acf5d (patch)
tree8231328e90b062702f266deae2753925402d1b77 /Doc
parent1221e6df3d02c3a2eea3907cdee1f23f757956ba (diff)
downloadcpython-5725d1eb034193e521dfe5febd675fb84e6acf5d.zip
cpython-5725d1eb034193e521dfe5febd675fb84e6acf5d.tar.gz
cpython-5725d1eb034193e521dfe5febd675fb84e6acf5d.tar.bz2
Backing out my changes.
Improved version coming soon to a Source Forge near you!
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index b66de07..91dd675 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -783,12 +783,8 @@ arbitrary objects):
\ttindex{has_key()}
\ttindex{items()}
\ttindex{keys()}
- \ttindex{firstitem()}
- \ttindex{firstkey()}
\ttindex{update()}
\ttindex{values()}
- \ttindex{firstvalue()}
- \ttindex{setdefault()}
\ttindex{get()}}
\begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes}
@@ -808,19 +804,11 @@ arbitrary objects):
\lineiii{\var{a}.items()}
{a copy of \var{a}'s list of (\var{key}, \var{value}) pairs}
{(2)}
- \lineiii{\var{a}.firstitem()}
- {a (\var{key}, \var{value}) pair, the first one in \var{a}.items()}
- {(2)}
\lineiii{\var{a}.keys()}{a copy of \var{a}'s list of keys}{(2)}
- \lineiii{\var{a}.firstkey()}
- {the first element in \var{a}.keys()}
- {(2)}
\lineiii{\var{a}.update(\var{b})}
{\code{for k in \var{b}.keys(): \var{a}[k] = \var{b}[k]}}
{(3)}
\lineiii{\var{a}.values()}{a copy of \var{a}'s list of values}{(2)}
- \lineiii{\var{a}.firstvalue()}
- {the first element in \var{a}.values()}
\lineiii{\var{a}.get(\var{k}\optional{, \var{x}})}
{\code{\var{a}[\var{k}]} if \code{\var{a}.has_key(\var{k})},
else \var{x}}