summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-24 08:14:36 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-24 08:14:36 +0000
commit576f5cc382383d5ee1cdbd9f899c488c4d9a1e20 (patch)
tree93596584dd515332556def7b1c2f305c7677624c /Modules/mathmodule.c
parent7c04530d3cc484afab527acf34fda2ed211936cc (diff)
downloadcpython-576f5cc382383d5ee1cdbd9f899c488c4d9a1e20.tar.gz
Get rid of remnants of integer division
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c2
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;