Skip to content
Myr

Use console syntax highlighting in the readme file.

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

authored by Artur Dryomov · committed by Artur Dryomov · parent ce595d4 · Browse files · 1 file+7 added−3 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+7 added−3 removed

  • other:+7 added−3 removed

1 file+7 added−3 removed

modified:README.rst+7 added-3 removed
14 unmodified lines
15perform the simplest of tasks.1617Things shouldn't be this way. Not in Python.1819::19.. code-block:: pycon2021 >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))22 >>> r.status_code23 204
29 unmodified lines
5354Installation55------------5657To install requests, simply: ::57To install requests, simply:5859.. code-block:: bash6061 $ pip install requests6261Or, if you absolutely must: ::63Or, if you absolutely must:6465.. code-block:: bash6667 $ easy_install requests6869But, you really shouldn't do that.70
12 unmodified lines