Fix typo
authorRaymond Hettinger <python@rcn.com>
Tue, 5 Mar 2013 07:11:10 +0000 (02:11 -0500)
committerRaymond Hettinger <python@rcn.com>
Tue, 5 Mar 2013 07:11:10 +0000 (02:11 -0500)
Lib/heapq.py

index 6859821feeea910ab2d9422d8cf453ebbe8748ab..00b429c2d36ea41ac4a234556126a80555a8f038 100644 (file)
@@ -320,7 +320,7 @@ def _siftdown_max(heap, startpos, pos):
     heap[pos] = newitem
 
 def _siftup_max(heap, pos):
-    'Minheap variant of _siftup'
+    'Maxheap variant of _siftup'
     endpos = len(heap)
     startpos = pos
     newitem = heap[pos]