From 84dca25b8eb3997186ae1c0946a6505bdd056d7f Mon Sep 17 00:00:00 2001 From: Kyungmin Lee Date: Sun, 8 Nov 2020 18:28:38 +0900 Subject: [PATCH] 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 --- README.md | 3 ++- docs/async.md | 7 ++++--- docs/index.md | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) 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 ```