BaseTools: remove the super() function argument
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
5135cc4852
commit
4ce4f757d7
@ -204,7 +204,7 @@ SupportedInMacroList = ['TARGET', 'TOOL_CHAIN_TAG', 'ARCH', 'FAMILY']
|
||||
|
||||
class BaseExpression(object):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(BaseExpression, self).__init__()
|
||||
super().__init__()
|
||||
|
||||
# Check if current token matches the operators given from parameter
|
||||
def _IsOperator(self, OpSet):
|
||||
@ -324,7 +324,7 @@ class ValueExpression(BaseExpression):
|
||||
return Val
|
||||
|
||||
def __init__(self, Expression, SymbolTable={}):
|
||||
super(ValueExpression, self).__init__(self, Expression, SymbolTable)
|
||||
super().__init__(self, Expression, SymbolTable)
|
||||
self._NoProcess = False
|
||||
if not isinstance(Expression, type('')):
|
||||
self._Expr = Expression
|
||||
|
@ -347,7 +347,7 @@ class RangeExpression(BaseExpression):
|
||||
|
||||
|
||||
def __init__(self, Expression, PcdDataType, SymbolTable = {}):
|
||||
super(RangeExpression, self).__init__(self, Expression, PcdDataType, SymbolTable)
|
||||
super().__init__(self, Expression, PcdDataType, SymbolTable)
|
||||
self._NoProcess = False
|
||||
if not isinstance(Expression, type('')):
|
||||
self._Expr = Expression
|
||||
|
Reference in New Issue
Block a user