From 2f5bb9b3ff38f4b40f2f9a9844867799f0cc7207 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Tue, 21 Jan 2020 13:22:06 +0100 Subject: [PATCH] Update threading.rst Fixes in docs. --- docs/threading.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/threading.rst b/docs/threading.rst index d6df1e52..e3461071 100644 --- a/docs/threading.rst +++ b/docs/threading.rst @@ -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():