Skip to content

Commit

Permalink
Fix code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Zheng committed Mar 16, 2018
1 parent 464bc40 commit fff2a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Behold, the power of `aiohttp <https://aiohttp.readthedocs.io>`_ client with `Re
... response = await requests.get('https://api.github.com/user', auth=aiohttp.BasicAuth('user', 'password'))
... text = await response.text()
... json = await response.json()
... return response, content, text, json
... return response, text, json
...
>>> loop = asyncio.get_event_loop()
>>> r, text, json = loop.run_until_complete(main())
Expand Down

0 comments on commit fff2a99

Please sign in to comment.