Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)

This commit is contained in:
Alex Waygood
2022-02-20 23:06:54 +00:00
committed by GitHub
parent 07de01f29e
commit 3ead05f277
9 changed files with 273 additions and 1 deletions

View File

@@ -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,
*,

View File

@@ -1,5 +1,7 @@
from typing import Any, Callable
__all__ = ["JSONDecoder", "JSONDecodeError"]
class JSONDecodeError(ValueError):
msg: str
doc: str