summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-07 18:47:09 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-07 18:47:09 (GMT)
commitfa68a6188a16562c1b4ba8cf879ce49decba5546 (patch)
tree1a53388a893eba8feb4b78ab0f87d68f70f9b4d4 /Objects/longobject.c
parent2872e5b1f893c47acb0a194dbf92766ae1ff9e37 (diff)
downloadcpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.zip
cpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.tar.gz
cpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.tar.bz2
Fix naming inconsistency.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index ed41010..c9c9817 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -4218,7 +4218,7 @@ long__format__(PyObject *self, PyObject *args)
round-half-to-even. */
PyObject *
-_PyLong_Divmod_Near(PyObject *a, PyObject *b)
+_PyLong_DivmodNear(PyObject *a, PyObject *b)
{
PyLongObject *quo = NULL, *rem = NULL;
PyObject *one = NULL, *twice_rem, *result, *temp;
@@ -4363,7 +4363,7 @@ long_round(PyObject *self, PyObject *args)
if (result == NULL)
return NULL;
- temp = _PyLong_Divmod_Near(self, result);
+ temp = _PyLong_DivmodNear(self, result);
Py_DECREF(result);
result = temp;
if (result == NULL)