[Python-checkins] python/nondist/peps pep-0289.txt,1.14,1.15

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Jul 12 16:39:57 CEST 2004


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30815

Modified Files:
	pep-0289.txt 
Log Message:
Small update.

Index: pep-0289.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0289.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** pep-0289.txt	3 Jul 2004 22:26:41 -0000	1.14
--- pep-0289.txt	12 Jul 2004 14:39:54 -0000	1.15
***************
*** 251,257 ****
  
  The utility of generator expressions is greatly enhanced when combined
! with reduction functions like sum(), min(), and max().  The sandbox
! contains a draft statistics module with several new accumulation
! functions including: product(), average(), nlargest(), and nsmallest().
  
  
--- 251,258 ----
  
  The utility of generator expressions is greatly enhanced when combined
! with reduction functions like sum(), min(), and max().  The heapq
! module in Python 2.4 includes two new reduction functions: nlargest()
! and nsmallest().  Both work well with generator expressions and keep
! no more than n items in memory at one time.
  
  



More information about the Python-checkins mailing list