summaryrefslogtreecommitdiff
path: root/Include/bytesobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/bytesobject.h')
-rw-r--r--Include/bytesobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h
index b5b37efd25..4046c1cf85 100644
--- a/Include/bytesobject.h
+++ b/Include/bytesobject.h
@@ -67,6 +67,9 @@ PyAPI_FUNC(PyObject*) _PyBytes_FormatEx(
Py_ssize_t format_len,
PyObject *args,
int use_bytearray);
+PyAPI_FUNC(PyObject*) _PyBytes_FromHex(
+ PyObject *string,
+ int use_bytearray);
#endif
PyAPI_FUNC(PyObject *) PyBytes_DecodeEscape(const char *, Py_ssize_t,
const char *, Py_ssize_t,