Skip to content

Commit aa3f6c2

Browse files
authored
Merge pull request #1503 from tybug/typing
Type `Terminal.__init__`
2 parents 9ca0c5d + ad35751 commit aa3f6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lark/grammar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Terminal(Symbol):
4040

4141
is_term: ClassVar[bool] = True
4242

43-
def __init__(self, name, filter_out=False):
43+
def __init__(self, name: str, filter_out: bool = False) -> None:
4444
self.name = name
4545
self.filter_out = filter_out
4646

0 commit comments

Comments
 (0)