1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

rename state class to _state

This commit is contained in:
Kelly Brazil
2021-09-20 11:59:54 -07:00
parent 932060314b
commit 9fbea15b6d
2 changed files with 2 additions and 8 deletions

View File

@ -69,12 +69,6 @@ info()
``` ```
Provides parser metadata (version, author, etc.) Provides parser metadata (version, author, etc.)
## state
```python
state()
```
## parse ## parse
```python ```python
parse(data, raw=False, quiet=False) parse(data, raw=False, quiet=False)

View File

@ -108,7 +108,7 @@ def _process(proc_data):
return proc_data return proc_data
class state: class _state:
os_detected = None os_detected = None
linux = None linux = None
bsd = None bsd = None
@ -461,7 +461,7 @@ def parse(data, raw=False, quiet=False):
Dictionary. Raw or processed structured data. Dictionary. Raw or processed structured data.
""" """
s = state() s = _state()
if not quiet: if not quiet:
jc.utils.compatibility(__name__, info.compatible) jc.utils.compatibility(__name__, info.compatible)