Skip to content

Commit

Permalink
Fix example readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero authored Mar 1, 2023
1 parent a62c4b3 commit 19a1e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ before full item parsing:
parse_events = ijson.parse(io.BytesIO(b'["skip", {"a": 1}, {"b": 2}, {"c": 3}]'))
while True:
prefix, event, value = next(parse_event)
prefix, event, value = next(parse_events)
if value == "skip":
break
for obj in ijson.items(parse_events, 'item'):
Expand Down

0 comments on commit 19a1e69

Please sign in to comment.