Skip to content

Commit

Permalink
P3.6 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jul 23, 2022
1 parent 829bbf8 commit ef451c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyleri/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def _walk(self, element, pos, tree, rule, is_required):

def create_grammar(
elem: Element,
re_keywords: re.Pattern = _RE_KEYWORDS) -> Grammar:
re_keywords: 're.Pattern' = _RE_KEYWORDS) -> Grammar:
class _Grammar(Grammar):
RE_KEYWORDS = _RE_KEYWORDS
START = elem
Expand Down

0 comments on commit ef451c4

Please sign in to comment.