Skip to content

Commit

Permalink
Docstring Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fahadsiddiqui committed Sep 21, 2020
1 parent 1419d63 commit 62c11d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions petl/io/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def fromjson(source, *args, **kwargs):
... {"name": "May", "wins": []}
... {"name": "Deloise", "wins": [["three of a kind", "5S"]]}
... '''
>>> with open('example.json', 'w') as f:
>>> with open('example2.json', 'w') as f:
... f.write(data_with_jlines)
...
>>> table2 = etl.fromjson('example.json', lines=True)
>>> table2 = etl.fromjson('example2.json', lines=True)
>>> table2
+---------+-------------------------------------------+
| name | wins |
Expand Down

0 comments on commit 62c11d0

Please sign in to comment.