Author larry
Recipients larry
Date 2014-01-27.11:51:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390823493.04.0.65431780694.issue20407@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for heapq.nsmallest and heapq.nlargest:

http://docs.python.org/3.3/library/heapq.html#heapq.nlargest

claim that they accept three arguments: n, iterable, and key=None.  In fact, the implementations of both these functions only accept two parameters: n and iterable.

I assume the right thing to do here is to remove the erroneous documentation, rather than implement this apparently-not-needed feature?
History
Date User Action Args
2014-01-27 11:51:33larrysetrecipients: + larry
2014-01-27 11:51:33larrysetmessageid: <1390823493.04.0.65431780694.issue20407@psf.upfronthosting.co.za>
2014-01-27 11:51:33larrylinkissue20407 messages
2014-01-27 11:51:32larrycreate