def int_divmod(context, builder, ty, x, y):
 if ty.signed:
  return int_divmod_signed(context, builder, ty, x, y)
 else:
  return (builder.udiv(x, y), builder.urem(x, y))

def int_divmod ( context , builder , ty , x , y ) : if ty . signed : return int_divmod_signed ( context , builder , ty , x , y ) else : return ( builder . udiv ( x , y ) , builder . urem ( x , y ) )
integer divmod .