diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-10-28 16:20:39 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-10-28 16:20:39 -0500 |
commit | 958d055040cae3eeafd23f2fe05e04cf035a04b8 (patch) | |
tree | f26cd7d6df7ede7307d1c4404636a0202cbf8d8f /pyparsing/core.py | |
parent | bf17712cc5e5368356dadf0ca441e7cac999bc09 (diff) | |
download | pyparsing-git-958d055040cae3eeafd23f2fe05e04cf035a04b8.tar.gz |
Update version to prep for next release (and black)
Diffstat (limited to 'pyparsing/core.py')
-rw-r--r-- | pyparsing/core.py | 8 |
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") |