Skip to content

Commit 6b5d100

Browse files
committed
Improve docstring
1 parent e1888ae commit 6b5d100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugwise_usb/connection/queue.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ class RequestState:
2828

2929

3030
class DroppingPriorityQueue(Queue):
31-
"""Define a queue that has a maximum size.
31+
"""Define a priority queue that has a maximum size.
3232
33-
Older entries are dropped when the queue reaches its maximum size.
33+
First lowest-priority items and then oldest items are dropped
34+
when the queue reaches its maximum size.
3435
"""
3536

3637
def _init(self, maxsize):

0 commit comments

Comments
 (0)