diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-03 18:14:05 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-03 18:14:05 (GMT) |
commit | 579ddc2fd4fd618b72d8202d79d75d22e7e0b60a (patch) | |
tree | b6ac773514cfbef73d62130a0d3810626fbc38e7 /Include/longobject.h | |
parent | e633bed44a6354dd190c7e97e28c12dead787315 (diff) | |
parent | f6d0aeeadce3f1aea240b900da5e1fbb430257b2 (diff) | |
download | cpython-579ddc2fd4fd618b72d8202d79d75d22e7e0b60a.zip cpython-579ddc2fd4fd618b72d8202d79d75d22e7e0b60a.tar.gz cpython-579ddc2fd4fd618b72d8202d79d75d22e7e0b60a.tar.bz2 |
Issue #16741: Fix an error reporting in int().
Diffstat (limited to 'Include/longobject.h')
-rw-r--r-- | Include/longobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h index 886bc63..24cf401 100644 --- a/Include/longobject.h +++ b/Include/longobject.h @@ -97,6 +97,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 |