[Python-checkins] python/dist/src/Doc/lib libsets.tex,1.3,1.4
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 23 Aug 2002 10:48:25 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10849/lib
Modified Files:
libsets.tex
Log Message:
s/_as_Temporarily_Immutable/_as_temporarily_immutable/g, because the
latter is what the code actually does.
Index: libsets.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsets.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** libsets.tex 23 Aug 2002 17:45:43 -0000 1.3
--- libsets.tex 23 Aug 2002 17:48:23 -0000 1.4
***************
*** 200,204 ****
\method{remove()} methods which need to hash an element to check
for membership in a set. Those methods check an element for hashability
! and, if not, check for a \method{_as_Temporarily_Immutable()} method
which returns the element wrapped by a class that provides temporary
methods for \method{__hash__()}, \method{__eq__()}, and \method{__ne__()}.
--- 200,204 ----
\method{remove()} methods which need to hash an element to check
for membership in a set. Those methods check an element for hashability
! and, if not, check for a \method{_as_temporarily_immutable()} method
which returns the element wrapped by a class that provides temporary
methods for \method{__hash__()}, \method{__eq__()}, and \method{__ne__()}.
***************
*** 207,211 ****
the original mutable object.
! \class{Set} objects implement the \method{_as_Temporarily_Immutable()}
method which returns the \class{Set} object wrapped by a new class
\class{_TemporarilyImmutableSet}.
--- 207,211 ----
the original mutable object.
! \class{Set} objects implement the \method{_as_temporarily_immutable()}
method which returns the \class{Set} object wrapped by a new class
\class{_TemporarilyImmutableSet}.