Skip to content
Myr

Adding the _pool_bloc to the list of attrs.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Randy Merrill · committed by Randy Merrill · parent 9cb3d64 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/adapters.py+2 added-1 removed
61 unmodified lines
62 >>> s = requests.Session()63 >>> a = requests.adapters.HTTPAdapter()64 >>> s.mount('http://', a)65 """66 __attrs__ = ['max_retries', 'config', '_pool_connections', '_pool_maxsize']66 __attrs__ = ['max_retries', 'config', '_pool_connections', '_pool_maxsize',67 '_pool_block']6869 def __init__(self, pool_connections=DEFAULT_POOLSIZE,70 pool_maxsize=DEFAULT_POOLSIZE, max_retries=DEFAULT_RETRIES,71 pool_block=DEFAULT_POOLBLOCK):
271 unmodified lines