From: Simon Willison Date: Sat, 15 Aug 2020 17:57:44 +0000 (-0700) Subject: Corrected docstring on async def request() (#1181) X-Git-Tag: 0.14.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=891d865044d27c229278f0fa20d84ba4007cb289;p=thirdparty%2Fhttpx.git Corrected docstring on async def request() (#1181) --- diff --git a/httpx/_client.py b/httpx/_client.py index 2da95242..e3b2f5b3 100644 --- a/httpx/_client.py +++ b/httpx/_client.py @@ -1221,7 +1221,7 @@ class AsyncClient(BaseClient): ```python request = client.build_request(...) - response = client.send(request, ...) + response = await client.send(request, ...) ``` See `AsyncClient.build_request()`, `AsyncClient.send()`