commit | bcc0db82dc9cb474d56a4cc63748583232d9524f | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 24 08:14:36 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 24 08:14:36 2006 +0000 |
tree | 0107d20b29b61fc7dfd9626ee7257242f8cf6302 | |
parent | ed483ba63b9c03845386976bccff5d95df5b570a [diff] [blame] |
Get rid of remnants of integer division
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index e7fc6dd..731b1d9 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c
@@ -266,7 +266,7 @@ return NULL; } - ans = PyNumber_Divide(num, den); + ans = PyNumber_TrueDivide(num, den); Py_DECREF(num); Py_DECREF(den); return ans;