diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-08-01 12:57:10 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-08-01 12:57:10 -0500 |
commit | f22dcdc9be6aebf7defc1ef43e39c53921ba7566 (patch) | |
tree | d40b225f53c90a0b4676c59323251c9c2c825df6 /examples/sparser.py | |
parent | 1688592bd97e573174e9eab482846e0f1194652a (diff) | |
download | pyparsing-git-f22dcdc9be6aebf7defc1ef43e39c53921ba7566.tar.gz |
Update __versionTime__; blacken core code and examples
Diffstat (limited to 'examples/sparser.py')
-rw-r--r-- | examples/sparser.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/sparser.py b/examples/sparser.py index 49617ff..ca4abf1 100644 --- a/examples/sparser.py +++ b/examples/sparser.py @@ -140,9 +140,11 @@ class ParseFileLineByLine: """
def __init__(self, filename, mode="r"):
- """Opens input file, and if available the definition file. If the
+ """
+ Opens input file, and if available the definition file. If the
definition file is available __init__ will then create some pyparsing
- helper variables. """
+ helper variables.
+ """
if mode not in ["r", "w", "a"]:
raise OSError(0, "Illegal mode: " + repr(mode))
|