]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Corrected docstring on async def request() (#1181)
authorSimon Willison <swillison@gmail.com>
Sat, 15 Aug 2020 17:57:44 +0000 (10:57 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 17:57:44 +0000 (01:57 +0800)
httpx/_client.py

index 2da9524233992dac35c4cf5384ef7f6cbf0cbf5e..e3b2f5b31913f210491a6c5fc2bff1c454833440 100644 (file)
@@ -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()`