[Python-checkins] python/nondist/sandbox/statistics statistics.py, 1.10, 1.11

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Mar 8 13:59:46 EST 2004


Update of /cvsroot/python/python/nondist/sandbox/statistics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23219

Modified Files:
	statistics.py 
Log Message:
Express all select() comparions in terms of __lt__()

Index: statistics.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/statistics/statistics.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** statistics.py	5 Mar 2004 08:49:56 -0000	1.10
--- statistics.py	8 Mar 2004 18:59:43 -0000	1.11
***************
*** 112,116 ****
              if elem < pivot:
                  uappend(elem)
!             elif elem > pivot:
                  oappend(elem)
              else:
--- 112,116 ----
              if elem < pivot:
                  uappend(elem)
!             elif pivot < elem:
                  oappend(elem)
              else:




More information about the Python-checkins mailing list