diff --git a/docs/lib.md b/docs/lib.md index afbf22d9..e38072cf 100644 --- a/docs/lib.md +++ b/docs/lib.md @@ -19,7 +19,7 @@ JC lib module ### parse ```python -def parse(parser_mod_name: str, data: Union[str, Iterable[str]], quiet: Optional[bool] = False, raw: Optional[bool] = False, ignore_exceptions: Optional[Union[None, bool]] = None, **kwargs: Any, ,) -> Union[Dict[str, Any], List[Dict[str, Any]], Iterator[Dict[str, Any]]] +def parse(parser_mod_name: str, data: Union[str, Iterable[str]], quiet: Optional[bool] = False, raw: Optional[bool] = False, ignore_exceptions: Optional[Union[None, bool]] = None, **kwargs: Any) -> Union[Dict[str, Any], List[Dict[str, Any]], Iterator[Dict[str, Any]]] ``` Parse the string data using the supplied parser module. diff --git a/jc/lib.py b/jc/lib.py index a87f0b90..e6ac4c3e 100644 --- a/jc/lib.py +++ b/jc/lib.py @@ -147,7 +147,7 @@ def parse( quiet: Optional[bool] = False, raw: Optional[bool] = False, ignore_exceptions: Optional[Union[None, bool]] = None, - **kwargs: Any, + **kwargs: Any ) -> Union[Dict[str, Any], List[Dict[str, Any]], Iterator[Dict[str, Any]]]: """ Parse the string data using the supplied parser module.