Exemple #1
0
 def dtype(self, context):
     assert dtype(self.cond, context) == bool
     return coerce_types(context, self.iftrue, self.iffalse)
Exemple #2
0
 def dtype(self, context):
     return coerce_types(context, *self.args)
Exemple #3
0
 def dtype(self, context):
     assert getdtype(self.cond, context) == bool
     return coerce_types(context, self.iftrue, self.iffalse)