diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 75ba81c6..a39128ec 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -598,7 +598,7 @@ Alternatively you can configure it once for an entire 'http': 'http://10.10.1.10:3128', 'https': 'http://10.10.1.10:1080', } - session = request.Session() + session = requests.Session() session.proxies.update(proxies) session.get('http://example.org')