]> granicus.if.org Git - python/commitdiff
Forgot to modify header file in r60707.
authorEric Smith <eric@trueblade.com>
Sun, 10 Feb 2008 15:07:44 +0000 (15:07 +0000)
committerEric Smith <eric@trueblade.com>
Sun, 10 Feb 2008 15:07:44 +0000 (15:07 +0000)
Include/abstract.h

index e6cbb7b5be4e727ff0c6ab7e92544fdf313c1bd6..a432a65b0a6f33169215c04527042ca602646a3a 100644 (file)
@@ -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);