[Python-checkins] CVS: python/dist/src/Doc/lib libstdtypes.tex,1.43,1.44
Moshe Zadka
python-dev@python.org
Thu, 30 Nov 2000 11:30:23 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5381/Doc/lib
Modified Files:
libstdtypes.tex
Log Message:
Backing out my changes.
Improved version coming soon to a Source Forge near you!
Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** libstdtypes.tex 2000/11/30 12:31:02 1.43
--- libstdtypes.tex 2000/11/30 19:30:20 1.44
***************
*** 784,793 ****
\ttindex{items()}
\ttindex{keys()}
- \ttindex{firstitem()}
- \ttindex{firstkey()}
\ttindex{update()}
\ttindex{values()}
- \ttindex{firstvalue()}
- \ttindex{setdefault()}
\ttindex{get()}}
--- 784,789 ----
***************
*** 809,825 ****
{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})},
--- 805,813 ----