aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_bytesobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_bytesobject.h')
-rw-r--r--Include/internal/pycore_bytesobject.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/internal/pycore_bytesobject.h b/Include/internal/pycore_bytesobject.h
index 300e7f4896a..8ea9b3ebb88 100644
--- a/Include/internal/pycore_bytesobject.h
+++ b/Include/internal/pycore_bytesobject.h
@@ -20,8 +20,9 @@ extern PyObject* _PyBytes_FromHex(
// Helper for PyBytes_DecodeEscape that detects invalid escape chars.
// Export for test_peg_generator.
-PyAPI_FUNC(PyObject*) _PyBytes_DecodeEscape(const char *, Py_ssize_t,
- const char *, const char **);
+PyAPI_FUNC(PyObject*) _PyBytes_DecodeEscape2(const char *, Py_ssize_t,
+ const char *,
+ int *, const char **);
// Substring Search.