[Python-checkins] python/dist/src/Doc/lib libsets.tex,1.5,1.6

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sat, 24 Aug 2002 00:33:08 -0700


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

Modified Files:
	libsets.tex 
Log Message:
Removed < <= > >= from the API.  Implemented as comparisons of the 
underlying dictionaries, there were no reasonable use cases (lexicographic
sorting of a list of sets is somewhat esoteric).  Frees the operators
for other uses (such as strict subset and superset comparisons).

Updated documentation and test suite accordingly.



Index: libsets.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsets.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** libsets.tex	23 Aug 2002 18:10:54 -0000	1.5
--- libsets.tex	24 Aug 2002 07:33:06 -0000	1.6
***************
*** 101,107 ****
  
  In addition to the above operations, both \class{Set} and \class{ImmutableSet}
! support set to set comparison operators based on the contents of their
! internal dictionaries.  Two sets are equal if and only if every element of
! each set is contained in the other.
  
  The following table lists operations available in \class{ImmutableSet}
--- 101,106 ----
  
  In addition to the above operations, both \class{Set} and \class{ImmutableSet}
! support set to set equality comparisons.  Two sets are equal if and only if
! every element of each set is contained in the other.
  
  The following table lists operations available in \class{ImmutableSet}