mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Revert "Adding 'import requests' to readme code snippet."
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user