Skip to content
Myr

Fix api.rst References

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

api.rst references `requests.ConnectTimeout` and `requests.ReadTimeout`, but they aren't imported into the top-level of the package.

authored by Brandon Sandrowicz · committed by Brandon Sandrowicz · parent 4f378b0 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/__init__.py+1 added-1 removed
61 unmodified lines
62from .status_codes import codes63from .exceptions import (64 RequestException, Timeout, URLRequired,65 TooManyRedirects, HTTPError, ConnectionError,66 FileModeWarning,66 FileModeWarning, ConnectTimeout, ReadTimeout67)6869# Set default logging handler to avoid "No handler found" warnings.70import logging
13 unmodified lines