Ben Finney <ben+pyt...@benfinney.id.au> writes:
> I'm not sure I know exactly what behaviour you want (“C style” may mean
> different things to each of us).

I thought he meant trunc-division, so -5 / 2 = -2 and -5 % 2 = -1.
Python specifies floor division but C leaves it unspecified, I thought.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to