Skip to content

Commit 4b6fed2

Browse files
authored
Fix Python code block formatting in README
Updated code block formatting for Python example in README.
1 parent 32120ca commit 4b6fed2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ ignored. You can customize this behaviour by passing a customizable handler to
180180
For example, you can introduce a strict mode by raising a ValueError on every
181181
dropped property:
182182

183-
```python
184-
def raise_this(value):
185-
raise ValueError(value)
183+
.. code-block:: Python
184+
185+
def raise_this(value):
186+
raise ValueError(value)
186187
187-
jsonld.expand(doc, None, on_property_dropped=raise_this)
188-
```
188+
jsonld.expand(doc, None, on_property_dropped=raise_this)
189189
190190
Commercial Support
191191
------------------

0 commit comments

Comments
 (0)