From 37011aaa3f571249951e79162ca58072ff5d7e41 Mon Sep 17 00:00:00 2001 From: Ian Gao Date: Thu, 11 Apr 2019 19:03:15 +0800 Subject: [PATCH] Add import statement Should add this import statement to make it more user friendly, especially for the beginners in Python. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ee3b2bf5e5..1a9359cfa3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ consumption. Behold, the power of Requests: ``` {.sourceCode .python} +>>> import requests >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200