[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 3/2 => 1 # Usual behavior
> some_func(3, 2) => 2 # Wanted
def some_func(a, b):
return -(-a/b)
And people complain about Python's behaviour regarding division of
negative integers.
--
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
"Frankly I have no feelings towards penguins one way or the other"
-- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
--
http://mail.python.org/mailman/listinfo/python-list