Message209435
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? |
|
Date |
User |
Action |
Args |
2014-01-27 11:51:33 | larry | set | recipients:
+ larry |
2014-01-27 11:51:33 | larry | set | messageid: <1390823493.04.0.65431780694.issue20407@psf.upfronthosting.co.za> |
2014-01-27 11:51:33 | larry | link | issue20407 messages |
2014-01-27 11:51:32 | larry | create | |
|