Skip to content

Commit

Permalink
Docs Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
fahadsiddiqui committed Sep 21, 2020
1 parent ea32d52 commit dc08199
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 @@ -54,8 +54,8 @@ def fromjson(source, *args, **kwargs):
... {"name": "Deloise", "wins": [["three of a kind", "5♣"]]}
... '''
>>> with open('example.json', 'w') as f:
>>> ... f.write(data_with_jlines)
>>> ...
... f.write(data_with_jlines)
...
>>> table2 = etl.fromjson('example.json', lines=True)
>>> table2
+---------+-------------------------------------------+
Expand Down

0 comments on commit dc08199

Please sign in to comment.