[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.25, 1.26

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Jan 5 03:15:27 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv26530

Modified Files:
	whatsnew24.tex 
Log Message:
Small correction to example

Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** whatsnew24.tex	5 Jan 2004 00:29:57 -0000	1.25
--- whatsnew24.tex	5 Jan 2004 08:15:20 -0000	1.26
***************
*** 274,283 ****
    sequence arguments.
  
! \item The unbound methods \method{list.__getitem__()},
    \method{dict.__getitem__()}, and \method{dict.__contains__()} are
    are now implemented as \class{method_descriptor} objects rather
    than \class{wrapper_descriptor} objects.  This form of optimized
    access doubles their performance and makes them more suitable for
!   use as arguments to functionals:  \samp{map(dict.__contains__, mydict)}.
  
  \end{itemize}
--- 274,284 ----
    sequence arguments.
  
! \item The methods \method{list.__getitem__()},
    \method{dict.__getitem__()}, and \method{dict.__contains__()} are
    are now implemented as \class{method_descriptor} objects rather
    than \class{wrapper_descriptor} objects.  This form of optimized
    access doubles their performance and makes them more suitable for
!   use as arguments to functionals:
!   \samp{map(mydict.__getitem__, keylist)}.
  
  \end{itemize}





More information about the Python-checkins mailing list