vippstar <vipps...@gmail.com> writes:
> > I don't see how to implement such a thing in my code,
> Write a function:
> 
>   (if (< x y)
>       ValueError
>       (/ x y))

I meant changing the behavior of integer division in python.

> Wouldn't that mean 3/2 would also evaluate to ValueError?

Yes, the idea was that one can take the view that integer division
should not be allowed except through a 'div' function or some such.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to