[issue5669] Extra heapq nlargest/nsmallest option for including ties

Raymond Hettinger report at bugs.python.org
Thu Apr 2 20:30:43 CEST 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

That should have been:  last = result[-1]; [last]*s.count(last).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5669>
_______________________________________


More information about the Python-bugs-list mailing list