Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #201 from python-trio/nicoddemus-patch-1
Browse files Browse the repository at this point in the history
Add syntax highlight to examples in README
  • Loading branch information
pquentin authored Feb 26, 2020
2 parents 7cc0683 + da0b649 commit 0f12086
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ However, we currently do not support SOCKS proxies nor the pyOpenSSL and SecureT
Sample code
-----------

Hip is powerful and easy to use::
Hip is powerful and easy to use:

.. code-block:: python
>>> import hip
>>> http = hip.PoolManager()
Expand All @@ -54,7 +56,9 @@ Hip is powerful and easy to use::
>>> r.data
'User-agent: *\nDisallow: /deny\n'
It also supports async/await::
It also supports async/await:

.. code-block:: python
import hip
import trio
Expand Down

0 comments on commit 0f12086

Please sign in to comment.