summaryrefslogtreecommitdiffstats
path: root/Include/cpython/bytesobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/bytesobject.h')
-rw-r--r--Include/cpython/bytesobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/bytesobject.h b/Include/cpython/bytesobject.h
index 8168237..4153721 100644
--- a/Include/cpython/bytesobject.h
+++ b/Include/cpython/bytesobject.h
@@ -31,3 +31,7 @@ static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
return Py_SIZE(self);
}
#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
+
+/* _PyBytes_Join(sep, x) is like sep.join(x). sep must be PyBytesObject*,
+ x must be an iterable object. */
+PyAPI_FUNC(PyObject*) _PyBytes_Join(PyObject *sep, PyObject *x);