[Python-checkins] CVS: python/dist/src/Doc/lib libstdtypes.tex,1.23,1.24

Fred L. Drake python-dev@python.org
Mon, 31 Jul 2000 09:34:53 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27177/lib

Modified Files:
	libstdtypes.tex 
Log Message:

Two minor nits from Gerry Weiner (no working email address) about
describing the methods of dictionaries.


Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** libstdtypes.tex	2000/06/30 16:06:19	1.23
--- libstdtypes.tex	2000/07/31 16:34:46	1.24
***************
*** 570,575 ****
    \lineiii{len(\var{a})}{the number of items in \var{a}}{}
    \lineiii{\var{a}[\var{k}]}{the item of \var{a} with key \var{k}}{(1)}
!   \lineiii{\var{a}[\var{k}] = \var{x}}
!           {set \code{\var{a}[\var{k}]} to \var{x}}
            {}
    \lineiii{del \var{a}[\var{k}]}
--- 570,575 ----
    \lineiii{len(\var{a})}{the number of items in \var{a}}{}
    \lineiii{\var{a}[\var{k}]}{the item of \var{a} with key \var{k}}{(1)}
!   \lineiii{\var{a}[\var{k}] = \var{v}}
!           {set \code{\var{a}[\var{k}]} to \var{v}}
            {}
    \lineiii{del \var{a}[\var{k}]}
***************
*** 586,590 ****
    \lineiii{\var{a}.keys()}{a copy of \var{a}'s list of keys}{(2)}
    \lineiii{\var{a}.update(\var{b})}
!           {\code{for k, v in \var{b}.items(): \var{a}[k] = v}}
            {(3)}
    \lineiii{\var{a}.values()}{a copy of \var{a}'s list of values}{(2)}
--- 586,590 ----
    \lineiii{\var{a}.keys()}{a copy of \var{a}'s list of 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)}