1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

formatting for parse docstring

This commit is contained in:
Kelly Brazil
2022-01-25 18:51:56 -08:00
parent c36e513d1b
commit 4568f2d06e
2 changed files with 2 additions and 6 deletions

View File

@ -10,9 +10,7 @@ JC lib module
#### parse #### parse
```python ```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], 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]]]
List[Dict[str, Any]],
Iterator[Dict[str, Any]]]
``` ```
Parse the string data using the supplied parser module. Parse the string data using the supplied parser module.

View File

@ -146,9 +146,7 @@ def parse(parser_mod_name: str,
raw: Optional[bool] = False, raw: Optional[bool] = False,
ignore_exceptions: Optional[Union[None, bool]] = None, ignore_exceptions: Optional[Union[None, bool]] = None,
**kwargs: Any, **kwargs: Any,
) -> Union[Dict[str, Any], ) -> Union[Dict[str, Any], List[Dict[str, Any]], Iterator[Dict[str, Any]]]:
List[Dict[str, Any]],
Iterator[Dict[str, Any]]]:
""" """
Parse the string data using the supplied parser module. Parse the string data using the supplied parser module.