diff options
Diffstat (limited to 'Objects/stringlib/join.h')
-rw-r--r-- | Objects/stringlib/join.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/stringlib/join.h b/Objects/stringlib/join.h index 90f966d..6f314e1 100644 --- a/Objects/stringlib/join.h +++ b/Objects/stringlib/join.h @@ -107,7 +107,7 @@ STRINGLIB(bytes_join)(PyObject *sep, PyObject *iterable) for (i = 0; i < nbufs; i++) { Py_ssize_t n = buffers[i].len; char *q = buffers[i].buf; - Py_MEMCPY(p, q, n); + memcpy(p, q, n); p += n; } goto done; @@ -116,12 +116,12 @@ STRINGLIB(bytes_join)(PyObject *sep, PyObject *iterable) Py_ssize_t n; char *q; if (i) { - Py_MEMCPY(p, sepstr, seplen); + memcpy(p, sepstr, seplen); p += seplen; } n = buffers[i].len; q = buffers[i].buf; - Py_MEMCPY(p, q, n); + memcpy(p, q, n); p += n; } goto done; |