From f6d0aeeadce3f1aea240b900da5e1fbb430257b2 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 3 Aug 2013 20:55:06 +0300 Subject: Issue #16741: Fix an error reporting in int(). --- Include/longobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/longobject.h') diff --git a/Include/longobject.h b/Include/longobject.h index cd0cf30814..bcb93b9e2d 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 -- cgit v1.2.1