diff --git a/google/auth/transport/urllib3.py b/google/auth/transport/urllib3.py index fa9e018a2..de07007a9 100644 --- a/google/auth/transport/urllib3.py +++ b/google/auth/transport/urllib3.py @@ -106,9 +106,8 @@ class Request(transport.Request): credentials.refresh(request) Args: - http (urllib3.request.RequestMethods): An instance of any urllib3 - class that implements :class:`~urllib3.request.RequestMethods`, - usually :class:`urllib3.PoolManager`. + http (urllib3.PoolManager): An instance of a urllib3 class that implements + the request interface (e.g. :class:`urllib3.PoolManager`). .. automethod:: __call__ """ @@ -209,7 +208,7 @@ class AuthorizedHttp(RequestMethods): # type: ignore response = authed_http.request( 'GET', 'https://www.googleapis.com/storage/v1/b') - This class implements :class:`urllib3.request.RequestMethods` and can be + This class implements the urllib3 request interface and can be used just like any other :class:`urllib3.PoolManager`. The underlying :meth:`urlopen` implementation handles adding the