Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 15463:aaa91ed3fcfd legacy-trunk
Backing out my changes.
Improved version coming soon to a Source Forge near you!
| author | Moshe Zadka <moshez@math.huji.ac.il> |
|---|---|
| date | Thu, 30 Nov 2000 19:30:21 +0000 |
| parents | 9f775e249ba1 |
| children | aaa54752e4ba |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Thu Nov 30 18:27:50 2000 +0000 +++ b/Doc/lib/libstdtypes.tex Thu Nov 30 19:30:21 2000 +0000 @@ -783,12 +783,8 @@ \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 @@ \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}}
