Skip to content

Commit

Permalink
ujson: add JSONDecodeError (#7988)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw9 committed May 30, 2022
1 parent 8f7786c commit 92ba4b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/ujson/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "4.2.*"
version = "5.2.*"
2 changes: 2 additions & 0 deletions stubs/ujson/ujson.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ def dump(
def decode(s: AnyStr, precise_float: bool = ...) -> Any: ...
def loads(s: AnyStr, precise_float: bool = ...) -> Any: ...
def load(fp: IO[AnyStr], precise_float: bool = ...) -> Any: ...

class JSONDecodeError(ValueError): ...

0 comments on commit 92ba4b7

Please sign in to comment.