Skip to content

Commit

Permalink
Merge pull request #343 from PaulWestenthanner/fix/threading_docs
Browse files Browse the repository at this point in the history
fix code in documentation on threading
  • Loading branch information
pquentin authored Nov 28, 2022
2 parents 9f2c1f2 + fa0a16e commit 87805ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/threading.rst
Original file line number Diff line number Diff line change
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 87805ff

Please sign in to comment.