From 779675bf157e852b5d08f634c88d3c91fa07cf8e Mon Sep 17 00:00:00 2001 From: Fedorof Date: Wed, 9 Sep 2015 18:28:32 +0300 Subject: [PATCH] Fixing a typo --- docs/client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client.rst b/docs/client.rst index 245432ea4cb..00ab64c237f 100644 --- a/docs/client.rst +++ b/docs/client.rst @@ -289,7 +289,7 @@ calculate the file SHA1 hash:: >>> def feed_stream(resp, stream): ... h = hashlib.sha1() ... - ... with True: + ... while True: ... chunk = yield from resp.content.readany() ... if not chunk: ... break