diff --git a/README.rst b/README.rst index fbcb393f..146dc06d 100644 --- a/README.rst +++ b/README.rst @@ -15,6 +15,7 @@ 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 diff --git a/docs/index.rst b/docs/index.rst index d8279a9c..160596d0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,6 +17,7 @@ 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