diff options
| author | shadchin <[email protected]> | 2025-06-18 20:33:12 +0300 |
|---|---|---|
| committer | shadchin <[email protected]> | 2025-06-18 21:16:29 +0300 |
| commit | 2fcfb855cd7780ab07751cc16c80a0a58168668a (patch) | |
| tree | 078f7a88f8a93e87eb89e67e0f43120c0e01528f /contrib/tools/python3/Include/cpython/bytesobject.h | |
| parent | 6635b88fd4c0ff9c8545c3b277eaf5debaf40b8f (diff) | |
Update Python 3 to 3.12.11
commit_hash:0054a0810a95d3f1aa3d36410976d43e03ff7e86
Diffstat (limited to 'contrib/tools/python3/Include/cpython/bytesobject.h')
| -rw-r--r-- | contrib/tools/python3/Include/cpython/bytesobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 **); |
