summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/cpython/bytesobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Include/cpython/bytesobject.h')
-rw-r--r--contrib/tools/python3/Include/cpython/bytesobject.h4
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 **);