commit | 9872ad46d5c8b91caba942e87d9fe6d00843a518 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@gmail.com> | Sat Mar 14 20:20:36 2015 -0700 |
committer | Eli Bendersky <eliben@gmail.com> | Sat Mar 14 20:20:36 2015 -0700 |
tree | cddc77f3cada63670bc123b6d578eb794b21dc11 | |
parent | 251aede2f23f13b33dc4fc28bb18a5f416fad345 [diff] |
Issue #23549: Clarify confusion in heapq doc - accessing the mininmal element The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1. default