Fixed usage example in sessions.py

This commit is contained in:
Daniel Müller
2015-10-15 14:32:35 +02:00
parent 18a6b60110
commit d8f28f4bca
+2 -2
View File
@@ -273,13 +273,13 @@ class Session(SessionRedirectMixin):
>>> import requests
>>> s = requests.Session()
>>> s.get('http://httpbin.org/get')
200
<Response [200]>
Or as a context manager::
>>> with requests.Session() as s:
>>> s.get('http://httpbin.org/get')
200
<Response [200]>
"""
__attrs__ = [