Commit aabed40c authored by Vincent Texier's avatar Vincent Texier

issue #52 fix type hinting in grammars.output module

parent e6b1dcea
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment