This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry
Date 2014-01-27.11:51:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation for heapq.nsmallest and 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?
Date User Action Args
2014-01-27 11:51:33larrysetrecipients: + larry
2014-01-27 11:51:33larrysetmessageid: <>
2014-01-27 11:51:33larrylinkissue20407 messages
2014-01-27 11:51:32larrycreate