SIGN IN SIGN UP

Add key= argument to heapq.nsmallest() and heapq.nlargest().

R
Raymond Hettinger committed
4901a1f267e9d632f85054ce8b21ff23bff305e1
Parent: de7b990