Skip to content

Commit

Permalink
Fix docs typo (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg authored and asvetlov committed Jun 19, 2016
1 parent f180199 commit f2c12f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ calculate the file SHA1 hash::
if not chunk:
break
h.update(chunk)
s.feed_data(chunk)
stream.feed_data(chunk)

return h.hexdigest()

Expand All @@ -335,7 +335,7 @@ Because the response content attribute is a
:class:`~aiohttp.streams.StreamReader`, you can chain get and post
requests together (aka HTTP pipelining)::

r = await session.get, 'http://python.org')
r = await session.get('http://python.org')
await session.post('http://httpbin.org/post',
data=r.content)

Expand Down

0 comments on commit f2c12f7

Please sign in to comment.