Skip to content
Myr

Merge pull request #2827 from daniel-mueller/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixed usage example in sessions.py

authored by Cory Benfield · committed by Cory Benfield · parents 18a6b60, d8f28f4 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/sessions.py+2 added-2 removed
271 unmodified lines
272273 >>> import requests274 >>> s = requests.Session()275 >>> s.get('http://httpbin.org/get')276 200276 <Response [200]>277278 Or as a context manager::279280 >>> with requests.Session() as s:281 >>> s.get('http://httpbin.org/get')282 200282 <Response [200]>283 """284285 __attrs__ = [286 'headers', 'cookies', 'auth', 'proxies', 'hooks', 'params', 'verify',
394 unmodified lines