[Python-checkins] python/dist/src/Doc/lib libsets.tex,1.2,1.3

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Fri, 23 Aug 2002 10:45:46 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10194/lib

Modified Files:
	libsets.tex 
Log Message:
pop():  An arbitrary element is removed, not a random element.


Index: libsets.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsets.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** libsets.tex	23 Aug 2002 17:22:36 -0000	1.2
--- libsets.tex	23 Aug 2002 17:45:43 -0000	1.3
***************
*** 144,148 ****
            but does not raise a KeyError if \var{x} is not in \var{s}}
    \lineii{\var{s}.pop()}
!          {Remove and return a randomly-chosen element from \var{s}}
    \lineii{\var{s}.update(\var{t})}
           {Add elements from \var{t} to set \var{s}}
--- 144,149 ----
            but does not raise a KeyError if \var{x} is not in \var{s}}
    \lineii{\var{s}.pop()}
!          {Remove and return an element from \var{s}; no guarantee is
!           made about which element is removed}
    \lineii{\var{s}.update(\var{t})}
           {Add elements from \var{t} to set \var{s}}