Skip to content

Commit

Permalink
Document end offset
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Sep 17, 2024
1 parent ad964a8 commit 8ee0248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsonyx/_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class JSONSyntaxError(SyntaxError):
:param filename: the path to the JSON file
:param doc: a JSON string
:param start: the start position
:param end: the end position
:param end: the end position or negative offset
>>> import jsonyx as json
>>> raise json.JSONSyntaxError("Expecting value", "<string>", "[,]", 1)
Expand Down

0 comments on commit 8ee0248

Please sign in to comment.