Skip to content

Commit

Permalink
code highlighting in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Oct 15, 2019
1 parent 1435bd3 commit 22d6c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ramp up.

## Examples
#### Without glom
```
```python
>>> data = {'a': {'b': {'c': 'd'}}}
>>> data['a']['b']['c']
'd'
Expand All @@ -70,7 +70,7 @@ TypeError: 'NoneType' object is not subscriptable
```

#### With glom
```
```python
>>> glom(data, 'a.b.c')
'd'
>>> glom(data2, 'a.b.c')
Expand Down

0 comments on commit 22d6c50

Please sign in to comment.