From 2fcfb855cd7780ab07751cc16c80a0a58168668a Mon Sep 17 00:00:00 2001 From: shadchin Date: Wed, 18 Jun 2025 20:33:12 +0300 Subject: Update Python 3 to 3.12.11 commit_hash:0054a0810a95d3f1aa3d36410976d43e03ff7e86 --- contrib/tools/python3/Include/cpython/bytesobject.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/tools/python3/Include/cpython/bytesobject.h') diff --git a/contrib/tools/python3/Include/cpython/bytesobject.h b/contrib/tools/python3/Include/cpython/bytesobject.h index e982031c107..eef607a5760 100644 --- a/contrib/tools/python3/Include/cpython/bytesobject.h +++ b/contrib/tools/python3/Include/cpython/bytesobject.h @@ -25,6 +25,10 @@ PyAPI_FUNC(PyObject*) _PyBytes_FromHex( int use_bytearray); /* Helper for PyBytes_DecodeEscape that detects invalid escape chars. */ +PyAPI_FUNC(PyObject*) _PyBytes_DecodeEscape2(const char *, Py_ssize_t, + const char *, + int *, const char **); +// Export for binary compatibility. PyAPI_FUNC(PyObject *) _PyBytes_DecodeEscape(const char *, Py_ssize_t, const char *, const char **); -- cgit v1.3