diff --git a/docs/parsers/ping_s.md b/docs/parsers/ping_s.md index 928039b6..56a1a5f4 100644 --- a/docs/parsers/ping_s.md +++ b/docs/parsers/ping_s.md @@ -69,12 +69,6 @@ info() ``` Provides parser metadata (version, author, etc.) -## state -```python -state() -``` - - ## parse ```python parse(data, raw=False, quiet=False) diff --git a/jc/parsers/ping_s.py b/jc/parsers/ping_s.py index dd5b1c18..42f18f5a 100644 --- a/jc/parsers/ping_s.py +++ b/jc/parsers/ping_s.py @@ -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)