diff options
author | Eric Smith <eric@trueblade.com> | 2008-02-10 15:07:44 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-02-10 15:07:44 (GMT) |
commit | dd47aaebe8d06e45b24094f0a76d3f2289d50821 (patch) | |
tree | 6be62f8dc4db417c9d6308714896686d85e41ad0 | |
parent | 74d09144136e6b6cc072765fa052dd85f69dcde9 (diff) | |
download | cpython-dd47aaebe8d06e45b24094f0a76d3f2289d50821.zip cpython-dd47aaebe8d06e45b24094f0a76d3f2289d50821.tar.gz cpython-dd47aaebe8d06e45b24094f0a76d3f2289d50821.tar.bz2 |
Forgot to modify header file in r60707.
-rw-r--r-- | Include/abstract.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index e6cbb7b..a432a65 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); |