Skip to content

Commit

Permalink
fix code in documentation on threading
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWestenthanner committed Nov 27, 2022
1 parent 9f2c1f2 commit fa0a16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/threading.rst
Expand Up @@ -44,9 +44,9 @@ Here's an example:
]
for url in urls:
queue.put({'method': 'GET', 'url': url})
jobs.put({'method': 'GET', 'url': url})
p = pool.Pool(job_queue=q)
p = pool.Pool(job_queue=jobs)
p.join_all()
for response in p.responses():
Expand Down

0 comments on commit fa0a16e

Please sign in to comment.