From df9835a3e62bb2b3b6ec8b55f06a25a00a799d92 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 23 Sep 2021 08:57:14 -0700 Subject: [PATCH] formatting --- README.md | 2 +- templates/readme_template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6820b4f..b0dfd9bb 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,7 @@ Streaming parsers accept any iterable object and return a generator iterator obj To use the generator object in your code, simply loop through it: -``` +```python import jc.parsers.ls_s result = jc.parsers.ls_s.parse(ls_command_output.splitlines()) diff --git a/templates/readme_template b/templates/readme_template index 372c333f..5b7dbcd5 100644 --- a/templates/readme_template +++ b/templates/readme_template @@ -199,7 +199,7 @@ Streaming parsers accept any iterable object and return a generator iterator obj To use the generator object in your code, simply loop through it: -``` +```python import jc.parsers.ls_s result = jc.parsers.ls_s.parse(ls_command_output.splitlines())