From 7461371361a718e497bdfc63641d0916904e3f04 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 3 Feb 2016 06:11:36 -0500 Subject: [PATCH] behold the power of requests --- README.rst | 2 ++ docs/index.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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