George Sakkis <george.sak...@gmail.com> added the comment:

The second call should of course be:

>>> for i in xrange(1,len(s)+1): print i,heapq.nsmallest(i,s,ties=True)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5669>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to