Skip to content
Snippets Groups Projects
Commit aabed40c authored by Vincent Texier's avatar Vincent Texier
Browse files

issue #52 fix type hinting in grammars.output module

parent e6b1dcea
No related branches found
No related tags found
No related merge requests found
......@@ -266,8 +266,8 @@ class Condition:
return self.value
@classmethod
def token(cls: Type[ConditionType], left: str, op: Optional[str] = None,
right: Optional[str] = None) -> ConditionType:
def token(cls: Type[ConditionType], left: Any, op: Optional[Any] = None,
right: Optional[Any] = None) -> ConditionType:
"""
Return Condition instance from arguments and Operator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment