summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2015-03-14 20:14:23 -0700
committerEli Bendersky <eliben@gmail.com>2015-03-14 20:14:23 -0700
commit492ed42f72c952ba9b916c010af1ebcc68cccd71 (patch)
treebc7df63912fa0215c79a0840bf4bf330ed464ddc /Python/pythonrun.c
parent97f4d1f073820832cf1c9937094ad8da3684f8e1 (diff)
downloadcpython-492ed42f72c952ba9b916c010af1ebcc68cccd71.tar.gz
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions