Skip to content
Myr

Merge pull request #4237 from robinske/doc-import

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

Adds import statement to front page of docs for clarity and quicker start up

authored by Kenneth Reitz · committed by GitHub · parents f78a579, f6952a9 · Browse files · 1 file+1 added−0 removed
This commit

State

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

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/index.rst+1 added
34 unmodified lines
35-------------------3637**Behold, the power of Requests**::3839 >>> import requests40 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))41 >>> r.status_code42 20043 >>> r.headers['content-type']
129 unmodified lines