summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/queue.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index 540dde9..c67f15e 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -190,7 +190,8 @@ fully processed by daemon consumer threads.
Example of how to wait for enqueued tasks to be completed::
- import threading, queue
+ import threading
+ import queue
q = queue.Queue()