Skip to content

Commit 87a4437

Browse files
committed
Final QA
1 parent 8d9cf77 commit 87a4437

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

queue/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# A Practical Look at Stacks, Queues, and Priority Queues in Python
1+
# Python Stacks, Queues, and Priority Queues in Practice
22

33
Sample code supplementing the tutorial on [Python queues](https://realpython.com/queue-in-python/) hosted on Real Python.
44

queue/src/thread_safe_queues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def simulate_idle(self):
8282
def simulate_work(self):
8383
self.working = True
8484
self.progress = 0
85-
delay = randint(1, 15 // self.speed)
85+
delay = randint(1, 1 + 15 // self.speed)
8686
for _ in range(100):
8787
sleep(delay / 100)
8888
self.progress += 1

0 commit comments

Comments
 (0)