Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65e7cf9

Browse files
committed
Fixed inaccurate comment.
1 parent b1dc5b6 commit 65e7cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ class Queue:
653653
"""Queue is an abstract class/interface. There are three types:
654654
Stack(): A Last In First Out Queue.
655655
FIFOQueue(): A First In First Out Queue.
656-
PriorityQueue(lt): Queue where items are sorted by lt, (default <).
656+
PriorityQueue(order, f): Queue in sorted order (default min-first).
657657
Each type supports the following methods and functions:
658658
q.append(item) -- add an item to the queue
659659
q.extend(items) -- equivalent to: for item in items: q.append(item)

0 commit comments

Comments
 (0)