Browse Source

Fix lexer_callback arg in stub for Lark constructor

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.3
nic 5 years ago
parent
commit
97975532ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark-stubs/lark.pyi

+ 1
- 1
lark-stubs/lark.pyi View File

@@ -56,7 +56,7 @@ class Lark:
keep_all_tokens: bool = False,
propagate_positions: bool = False,
maybe_placeholders: bool = False,
lexer_callbacks: Dict[str, Callable[[Token], Token]]
lexer_callbacks: Optional[Dict[str, Callable[[Token], Token]]] = None
):
...



Loading…
Cancel
Save