From: Kyungmin Lee Date: Sun, 8 Nov 2020 09:28:38 +0000 (+0900) Subject: Fix typo (#1386) X-Git-Tag: 0.17.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84dca25b8eb3997186ae1c0946a6505bdd056d7f;p=thirdparty%2Fhttpx.git Fix typo (#1386) * Fix typo three greater-than signs -> three dots * Fix typo three greater-than signs -> three dots * Fix typo three greater-than signs -> three dots --- diff --git a/README.md b/README.md index 6f674feb..9b818630 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,8 @@ _Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.8+ with `p ```pycon >>> import httpx >>> async with httpx.AsyncClient() as client: ->>> r = await client.get('https://www.example.org/') +... r = await client.get('https://www.example.org/') +... >>> r ``` diff --git a/docs/async.md b/docs/async.md index ba6c6ad7..1cd51b00 100644 --- a/docs/async.md +++ b/docs/async.md @@ -16,7 +16,8 @@ To make asynchronous requests, you'll need an `AsyncClient`. ```pycon >>> async with httpx.AsyncClient() as client: ->>> r = await client.get('https://www.example.com/') +... r = await client.get('https://www.example.com/') +... >>> r ``` @@ -67,8 +68,8 @@ The `AsyncClient.stream(method, url, ...)` method is an async context block. ```pycon >>> client = httpx.AsyncClient() >>> async with client.stream('GET', 'https://www.example.com/') as response: ->>> async for chunk in response.aiter_bytes(): ->>> ... +... async for chunk in response.aiter_bytes(): +... ... ``` The async response streaming methods are: diff --git a/docs/index.md b/docs/index.md index 1fee6061..e76b31a8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -55,7 +55,8 @@ _Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.8+ with `p ```pycon >>> import httpx >>> async with httpx.AsyncClient() as client: ->>> r = await client.get('https://www.example.org/') +... r = await client.get('https://www.example.org/') +... >>> r ```