File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
from _typeshed import Incomplete , SupportsRead , SupportsWrite
2
2
from collections .abc import Callable
3
- from typing import Any , AnyStr
3
+ from typing import Any
4
4
5
5
__version__ : str
6
6
@@ -45,8 +45,8 @@ def dump(
45
45
default : Callable [[Incomplete ], Incomplete ] | None = None ,
46
46
separators : tuple [str , str ] | None = None ,
47
47
) -> None : ...
48
- def decode (s : AnyStr , precise_float : bool = ...) -> Any : ...
49
- def loads (s : AnyStr , precise_float : bool = ...) -> Any : ...
50
- def load (fp : SupportsRead [str | bytes ], precise_float : bool = ...) -> Any : ...
48
+ def decode (s : str | bytes | bytearray , precise_float : bool = ...) -> Any : ...
49
+ def loads (s : str | bytes | bytearray , precise_float : bool = ...) -> Any : ...
50
+ def load (fp : SupportsRead [str | bytes | bytearray ], precise_float : bool = ...) -> Any : ...
51
51
52
52
class JSONDecodeError (ValueError ): ...
You can’t perform that action at this time.
0 commit comments