diff options
| author | Jiayuan Zhang <forrestchang7@gmail.com> | 2016-08-13 10:19:10 +0800 |
|---|---|---|
| committer | Jiayuan Zhang <forrestchang7@gmail.com> | 2016-08-13 10:19:10 +0800 |
| commit | 00f83fb0c64aa48a27a3da2df590530ef7eeff85 (patch) | |
| tree | 701d4f6c29f6d8fa230be8103ad3276bb680c9af /docs | |
| parent | f5ff345c3509a4e6eff025c9140b62f85db1ef66 (diff) | |
| download | python-requests-00f83fb0c64aa48a27a3da2df590530ef7eeff85.tar.gz | |
fix grammer mistakes in Quickstart
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/quickstart.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index ea87eecc..b31276e6 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -132,9 +132,9 @@ For example, to create an image from binary data returned by a request, you can use the following code:: >>> from PIL import Image - >>> from io import StringIO + >>> from io import BytesIO - >>> i = Image.open(StringIO(r.content)) + >>> i = Image.open(BytesIO(r.content)) JSON Response Content @@ -416,7 +416,7 @@ parameter:: >>> r = requests.get(url, cookies=cookies) >>> r.text '{"cookies": {"cookies_are": "working"}}' - + Cookies are returned in a :class:`~requests.cookies.RequestsCookieJar`, which acts like a ``dict`` but also offers a more complete interface, suitable for use over multiple domains or paths. Cookie jars can |
