Skip to content
Myr

reduce imports

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent e4b5604 · Browse files · 1 file+2 added−3 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−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:requests/adapters.py+2 added-3 removed
12 unmodified lines
13from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers1415import socket16from .structures import CaseInsensitiveDict17from .packages.urllib3.exceptions import MaxRetryError, LocationParseError17from .packages.urllib3.exceptions import MaxRetryError18from .packages.urllib3.exceptions import TimeoutError19from .packages.urllib3.exceptions import SSLError as _SSLError20from .packages.urllib3.exceptions import HTTPError as _HTTPError21from .packages.urllib3 import connectionpool, poolmanager22from .packages.urllib3.filepost import encode_multipart_formdata21from .packages.urllib3 import poolmanager22from .cookies import extract_cookies_to_jar23from .exceptions import (24ConnectionError, HTTPError, RequestException, Timeout, TooManyRedirects,25URLRequired, SSLError, MissingSchema, InvalidSchema, InvalidURL)
147 unmodified lines