summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-03 17:55:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-03 17:55:06 (GMT)
commitf6d0aeeadce3f1aea240b900da5e1fbb430257b2 (patch)
tree824b3108bcbfeaa699766ab333ec43eefdc52bc8 /Include
parent1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490 (diff)
downloadcpython-f6d0aeeadce3f1aea240b900da5e1fbb430257b2.zip
cpython-f6d0aeeadce3f1aea240b900da5e1fbb430257b2.tar.gz
cpython-f6d0aeeadce3f1aea240b900da5e1fbb430257b2.tar.bz2
Issue #16741: Fix an error reporting in int().
Diffstat (limited to 'Include')
-rw-r--r--Include/longobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index cd0cf30..bcb93b9 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -84,6 +84,7 @@ PyAPI_FUNC(PyObject *) PyLong_FromString(char *, char **, int);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
PyAPI_FUNC(PyObject *) PyLong_FromUnicodeObject(PyObject *u, int base);
+PyAPI_FUNC(PyObject *) _PyLong_FromBytes(const char *, Py_ssize_t, int);
#endif
#ifndef Py_LIMITED_API