From d758f0cf97b949b4782c3238f3ace01fa9d1b194 Mon Sep 17 00:00:00 2001 From: kelley Date: Thu, 10 Aug 2017 10:23:43 -0700 Subject: [PATCH] Adds import statement to front page of docs for clarity and quicker start up --- docs/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.rst b/docs/index.rst index b17605bb..0f5b2b22 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -36,6 +36,7 @@ constantly reading documentation, depression, headaches, or even death.* **Behold, the power of Requests**:: + >>> import requests >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200