]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/Expression.py
BaseTools: remove the super() function argument
[mirror_edk2.git] / BaseTools / Source / Python / Common / Expression.py
index 6219675d2c1b6ad5c00d2b56c2a840ba4b684db8..9a98236a8c3414326739423ea04e3fd1a479cd61 100644 (file)
@@ -204,7 +204,7 @@ SupportedInMacroList = ['TARGET', 'TOOL_CHAIN_TAG', 'ARCH', 'FAMILY']
 \r
 class BaseExpression(object):\r
     def __init__(self, *args, **kwargs):\r
-        super(BaseExpression, self).__init__()\r
+        super().__init__()\r
 \r
     # Check if current token matches the operators given from parameter\r
     def _IsOperator(self, OpSet):\r
@@ -324,7 +324,7 @@ class ValueExpression(BaseExpression):
         return Val\r
 \r
     def __init__(self, Expression, SymbolTable={}):\r
-        super(ValueExpression, self).__init__(self, Expression, SymbolTable)\r
+        super().__init__(self, Expression, SymbolTable)\r
         self._NoProcess = False\r
         if not isinstance(Expression, type('')):\r
             self._Expr = Expression\r