Skip to content

Commit 92ba4b7

Browse files
authored
ujson: add JSONDecodeError (#7988)
1 parent 8f7786c commit 92ba4b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

stubs/ujson/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "4.2.*"
1+
version = "5.2.*"

stubs/ujson/ujson.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ def dump(
3333
def decode(s: AnyStr, precise_float: bool = ...) -> Any: ...
3434
def loads(s: AnyStr, precise_float: bool = ...) -> Any: ...
3535
def load(fp: IO[AnyStr], precise_float: bool = ...) -> Any: ...
36+
37+
class JSONDecodeError(ValueError): ...

0 commit comments

Comments
 (0)