Skip to content

Commit

Permalink
Fix Pool docstring (#365)
Browse files Browse the repository at this point in the history
The name of the parameters in the string and in the definition didn't match.
  • Loading branch information
kevindu52defargoth committed Jun 28, 2023
1 parent e543fe5 commit 7685b15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requests_toolbelt/threaded/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
class Pool(object):
"""Pool that manages the threads containing sessions.
:param queue:
:param job_queue:
The queue you're expected to use to which you should add items.
:type queue: queue.Queue
:type job_queue: queue.Queue
:param initializer:
Function used to initialize an instance of ``session``.
:type initializer: collections.Callable
:param auth_generator:
Function used to generate new auth credentials for the session.
:type auth_generator: collections.Callable
:param int num_process:
:param int num_processes:
Number of threads to create.
:param session:
:type session: requests.Session
Expand Down

0 comments on commit 7685b15

Please sign in to comment.