Skip to content
Snippets Groups Projects
Unverified Commit ad55147c authored by Mariatta Wijaya's avatar Mariatta Wijaya Committed by GitHub
Browse files

Update code sample when importing modules in queue doc (GH-94244)

In the queue documentation, the code snippet shows the import to be not PEP 8 compliant.

Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
parent 3abda7a3
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment