Martin v. Löwis wrote:
> In Python 2.4 and later, you could write
> 
> def Distance(t1, t0, maxint=(1<<32)-1):
>   return (t1-t0) & maxint

No, this function behaves differently. It never returns a negative 
value. The only difference in Python 2.4 is that 1<<32 was 0 before.

-- Christoph
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to