summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2016-11-17 10:53:33 -0500
committerGitHub <noreply@github.com>2016-11-17 10:53:33 -0500
commit5f4d0d08defe1e34aa1cdcb41f24343934135e7e (patch)
tree4da95324f6e72878ede6dcebe7c132eb01202f5b
parent7e138f945ed6ec0179cf0619e0a3ad3f22db3c55 (diff)
downloadpython-requests-revert-3700-master.tar.gz
Revert "Adding 'import requests' to readme code snippet."revert-3700-master
-rw-r--r--README.rst1
-rw-r--r--docs/index.rst1
2 files changed, 0 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 146dc06d..fbcb393f 100644
--- a/README.rst
+++ b/README.rst
@@ -15,7 +15,6 @@ Behold, the power of Requests:
.. code-block:: python
- >>> import requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
diff --git a/docs/index.rst b/docs/index.rst
index 160596d0..d8279a9c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -17,7 +17,6 @@ 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