1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-06 22:32:54 +02:00

add type annotations

This commit is contained in:
Kelly Brazil
2022-02-14 09:58:31 -08:00
parent 4ac9f2e3da
commit 67dbf05016
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ Examples:
### parse
```python
def parse(data: str, raw=False, quiet=False)
def parse(data: str, raw: bool = False, quiet: bool = False)
```
Main text parsing function

View File

@ -287,7 +287,7 @@ def _parse_mode(line: str) -> Optional[Mode]:
return mode
def parse(data: str, raw=False, quiet=False):
def parse(data: str, raw: bool =False, quiet: bool =False):
"""
Main text parsing function