[Python-checkins] python/dist/src/Lib heapq.py,1.23,1.24

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Jun 13 01:26:35 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5574/Lib

Modified Files:
	heapq.py 
Log Message:
Install C version of heapq.nsmallest().

Index: heapq.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/heapq.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** heapq.py	12 Jun 2004 08:33:36 -0000	1.23
--- heapq.py	13 Jun 2004 05:26:32 -0000	1.24
***************
*** 301,305 ****
  # If available, use C implementation
  try:
!     from _heapq import heappush, heappop, heapify, heapreplace
  except ImportError:
      pass
--- 301,305 ----
  # If available, use C implementation
  try:
!     from _heapq import heappush, heappop, heapify, heapreplace, nlargest, nsmallest
  except ImportError:
      pass




More information about the Python-checkins mailing list