Skip to content
Myr

Merge pull request #3703 from kennethreitz/revert-3700-master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Revert "Adding 'import requests' to readme code snippet."

authored by Kenneth Reitz · committed by GitHub · parents 7e138f9, 5f4d0d0 · Browse files · 2 files+0 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+0 added−2 removed

  • other:+0 added−2 removed

2 files+0 added−2 removed

modified:docs/index.rst-1 removed
15 unmodified lines
16constantly reading documentation, depression, headaches, or even death.1718Behold, the power of Requests::1920 >>> import requests20 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))21 >>> r.status_code22 20023 >>> r.headers['content-type']
131 unmodified lines
modified:README.rst-1 removed
13 unmodified lines
14Behold, the power of Requests:1516.. code-block:: python1718 >>> import requests18 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))19 >>> r.status_code20 20021 >>> r.headers['content-type']
73 unmodified lines