Skip to content

Commit

Permalink
type Terminal.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Jan 3, 2025
1 parent 2f7c9a4 commit ad35751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lark/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Terminal(Symbol):

is_term: ClassVar[bool] = True

def __init__(self, name, filter_out=False):
def __init__(self, name: str, filter_out: bool = False) -> None:
self.name = name
self.filter_out = filter_out

Expand Down

0 comments on commit ad35751

Please sign in to comment.