diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-24 08:14:36 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-24 08:14:36 +0000 |
commit | 576f5cc382383d5ee1cdbd9f899c488c4d9a1e20 (patch) | |
tree | 93596584dd515332556def7b1c2f305c7677624c /Modules/mathmodule.c | |
parent | 7c04530d3cc484afab527acf34fda2ed211936cc (diff) | |
download | cpython-576f5cc382383d5ee1cdbd9f899c488c4d9a1e20.tar.gz |
Get rid of remnants of integer division
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index e7fc6dd709..731b1d92d0 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -266,7 +266,7 @@ math_log(PyObject *self, PyObject *args) return NULL; } - ans = PyNumber_Divide(num, den); + ans = PyNumber_TrueDivide(num, den); Py_DECREF(num); Py_DECREF(den); return ans; |