From dd47aaebe8d06e45b24094f0a76d3f2289d50821 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Sun, 10 Feb 2008 15:07:44 +0000 Subject: [PATCH] Forgot to modify header file in r60707. --- Include/abstract.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.40.0