Skip to content

Commit

Permalink
tuple -> Tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaIng committed Sep 25, 2021
1 parent 4cd3a31 commit 1d8237e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lark/load_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def __init__(self, pkg_name: str, search_paths: Tuple[str, ...]=("", )) -> None:
def __repr__(self):
return "%s(%r, %r)" % (type(self).__name__, self.pkg_name, self.search_paths)

def __call__(self, base_path: Union[None, str, PackageResource], grammar_path: str, used_files: Dict[str, tuple[str, str]]=None) -> Tuple[PackageResource, str]:
def __call__(self, base_path: Union[None, str, PackageResource], grammar_path: str, used_files: Dict[str, Tuple[str, str]]=None) -> Tuple[PackageResource, str]:
if base_path is None:
to_try = self.search_paths
else:
Expand Down

0 comments on commit 1d8237e

Please sign in to comment.