Mise à jour de GitLab prévue ce 29 mai 2020 à partir de 9h00 CEST | GitLab upgrade planned the 29th of May 2020 from 9:00 AM CEST

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