1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +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
-6
View File
@@ -69,12 +69,6 @@ info()
```
Provides parser metadata (version, author, etc.)
## state
```python
state()
```
## parse
```python
parse(data, raw=False, quiet=False)
+2 -2
View File
@@ -108,7 +108,7 @@ def _process(proc_data):
return proc_data
class state:
class _state:
os_detected = None
linux = None
bsd = None
@@ -461,7 +461,7 @@ def parse(data, raw=False, quiet=False):
Dictionary. Raw or processed structured data.
"""
s = state()
s = _state()
if not quiet:
jc.utils.compatibility(__name__, info.compatible)