def div_proxy(x, y):
 f = int_or_true_div((as_scalar(x).type in discrete_types), (as_scalar(y).type in discrete_types))
 return f(x, y)

def div_proxy ( x , y ) : f = int_or_true_div ( ( as_scalar ( x ) . type in discrete_types ) , ( as_scalar ( y ) . type in discrete_types ) ) return f ( x , y )
proxy for either true_div or int_div .