diff --git a/README.rst b/README.rst index 12791f6b..afe0a124 100644 --- a/README.rst +++ b/README.rst @@ -14,6 +14,8 @@ consumption. including: security vulnerabilities, verbose code, reinventing the wheel, constantly reading documentation, depression, headaches, or even death. +Behold, the power of Requests: + .. code-block:: python >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) diff --git a/docs/index.rst b/docs/index.rst index 6439f6c1..e8dc326c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -15,7 +15,7 @@ consumption. including: security vulnerabilities, verbose code, reinventing the wheel, constantly reading documentation, depression, headaches, or even death. -:: +Behold, the power of Requests:: >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code