[Python-checkins] python/dist/src/Lib sets.py,1.43,1.44
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Thu, 26 Jun 2003 11:49:31 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv32231
Modified Files:
sets.py
Log Message:
Portion of SF patch #761104. Fixes a minor docstring error.
_TemporarilyImmutableSet is in fact a subclass of BaseSet
Index: sets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sets.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** sets.py 2 Mar 2003 00:19:49 -0000 1.43
--- sets.py 26 Jun 2003 18:49:28 -0000 1.44
***************
*** 26,33 ****
An iterable argument is mandatory to create an ImmutableSet.
! _TemporarilyImmutableSet -- Not a subclass of BaseSet: just a wrapper
! around a Set, hashable, giving the same hash value as the
! immutable set equivalent would have. Do not use this class
! directly.
Only hashable objects can be added to a Set. In particular, you cannot
--- 26,32 ----
An iterable argument is mandatory to create an ImmutableSet.
! _TemporarilyImmutableSet -- A wrapper around a Set, hashable,
! giving the same hash value as the immutable set equivalent
! would have. Do not use this class directly.
Only hashable objects can be added to a Set. In particular, you cannot