示例#1
0
 def dtype(self, context):
     assert dtype(self.cond, context) == bool
     return coerce_types(context, self.iftrue, self.iffalse)
示例#2
0
 def dtype(self, context):
     return coerce_types(context, *self.args)
示例#3
0
文件: exprmisc.py 项目: gvk489/liam2
 def dtype(self, context):
     assert getdtype(self.cond, context) == bool
     return coerce_types(context, self.iftrue, self.iffalse)