summaryrefslogtreecommitdiff
path: root/pyparsing/core.py
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2021-10-28 16:20:39 -0500
committerptmcg <ptmcg@austin.rr.com>2021-10-28 16:20:39 -0500
commit958d055040cae3eeafd23f2fe05e04cf035a04b8 (patch)
treef26cd7d6df7ede7307d1c4404636a0202cbf8d8f /pyparsing/core.py
parentbf17712cc5e5368356dadf0ca441e7cac999bc09 (diff)
downloadpyparsing-git-958d055040cae3eeafd23f2fe05e04cf035a04b8.tar.gz
Update version to prep for next release (and black)
Diffstat (limited to 'pyparsing/core.py')
-rw-r--r--pyparsing/core.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/pyparsing/core.py b/pyparsing/core.py
index ab178f3..b477083 100644
--- a/pyparsing/core.py
+++ b/pyparsing/core.py
@@ -4014,7 +4014,9 @@ class MatchFirst(ParseExpression):
for e in self.exprs:
try:
return e._parse(
- instring, loc, doActions,
+ instring,
+ loc,
+ doActions,
)
except ParseFatalException as pfe:
pfe.__traceback__ = None
@@ -4342,7 +4344,9 @@ class IndentedBlock(ParseElementEnhance):
self.errmsg = "expected indent at column greater than {}".format(ref_col)
self.add_condition(lambda s, l, t: col(l, s) > ref_col)
- def __init__(self, expr: ParserElement, *, recursive: bool = False, grouped: bool = True):
+ def __init__(
+ self, expr: ParserElement, *, recursive: bool = False, grouped: bool = True
+ ):
super().__init__(expr, savelist=True)
# if recursive:
# raise NotImplementedError("IndentedBlock with recursive is not implemented")