diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-10-27 06:58:47 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-10-27 06:58:47 -0500 |
commit | 280f71a9fdc8a7334551bcc1cb9d4485fa4f86e5 (patch) | |
tree | f42f1c223cc06359335eb5f9c76d43db89b94024 /pyparsing/core.py | |
parent | 1be3b5398f8f8d57811712c39b57228bdffe6032 (diff) | |
download | pyparsing-git-280f71a9fdc8a7334551bcc1cb9d4485fa4f86e5.tar.gz |
Fixed type annotation in IndentedBlock
Diffstat (limited to 'pyparsing/core.py')
-rw-r--r-- | pyparsing/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/core.py b/pyparsing/core.py index 9370101..0e91666 100644 --- a/pyparsing/core.py +++ b/pyparsing/core.py @@ -4341,7 +4341,7 @@ 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=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") |