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:
@ -89,7 +89,7 @@ Examples:
|
|||||||
### parse
|
### parse
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def parse(data: str, raw=False, quiet=False)
|
def parse(data: str, raw: bool = False, quiet: bool = False)
|
||||||
```
|
```
|
||||||
|
|
||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
@ -287,7 +287,7 @@ def _parse_mode(line: str) -> Optional[Mode]:
|
|||||||
return 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
|
Main text parsing function
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user