From: Eric Smith Date: Sun, 10 Feb 2008 15:07:44 +0000 (+0000) Subject: Forgot to modify header file in r60707. X-Git-Tag: v2.6a1~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd47aaebe8d06e45b24094f0a76d3f2289d50821;p=python Forgot to modify header file in r60707. --- diff --git a/Include/abstract.h b/Include/abstract.h index e6cbb7b5be..a432a65b0a 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -932,6 +932,15 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ + PyAPI_FUNC(PyObject *) PyNumber_ToBase(PyObject *n, int base); + + /* + Returns the integer n converted to a string with a base, with a base + marker of 0b, 0o or 0x prefixed if applicable. + If n is not an int object, it is converted with PyNumber_Index first. + */ + + /* Sequence protocol:*/ PyAPI_FUNC(int) PySequence_Check(PyObject *o);