summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
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 /Include/longobject.h
parent2872e5b1f893c47acb0a194dbf92766ae1ff9e37 (diff)
downloadcpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.zip
cpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.tar.gz
cpython-fa68a6188a16562c1b4ba8cf879ce49decba5546.tar.bz2
Fix naming inconsistency.
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index 72bcd98..02bf7ef 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -101,13 +101,13 @@ PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
*/
PyAPI_FUNC(size_t) _PyLong_NumBits(PyObject *v);
-/* _PyLong_Divmod_Near. Given integers a and b, compute the nearest
+/* _PyLong_DivmodNear. Given integers a and b, compute the nearest
integer q to the exact quotient a / b, rounding to the nearest even integer
in the case of a tie. Return (q, r), where r = a - q*b. The remainder r
will satisfy abs(r) <= abs(b)/2, with equality possible only if q is
even.
*/
-PyAPI_FUNC(PyObject *) _PyLong_Divmod_Near(PyObject *, PyObject *);
+PyAPI_FUNC(PyObject *) _PyLong_DivmodNear(PyObject *, PyObject *);
/* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in
base 256, and return a Python long with the same numeric value.