mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)
This commit is contained in:
@@ -4,6 +4,8 @@ from typing import IO, Any, Callable
|
||||
from .decoder import JSONDecodeError as JSONDecodeError, JSONDecoder as JSONDecoder
|
||||
from .encoder import JSONEncoder as JSONEncoder
|
||||
|
||||
__all__ = ["dump", "dumps", "load", "loads", "JSONDecoder", "JSONDecodeError", "JSONEncoder"]
|
||||
|
||||
def dumps(
|
||||
obj: Any,
|
||||
*,
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
from typing import Any, Callable
|
||||
|
||||
__all__ = ["JSONDecoder", "JSONDecodeError"]
|
||||
|
||||
class JSONDecodeError(ValueError):
|
||||
msg: str
|
||||
doc: str
|
||||
|
||||
Reference in New Issue
Block a user