389
393
#define Py_UNICODE_COPY(target, source, length) \
390
394
Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE))
394
398
for (i_ = 0; i_ < (length); i_++) t_[i_] = v_;\
398
402
valid, and the substring must not be empty */
399
404
#define Py_UNICODE_MATCH(string, offset, substring) \
400
405
((*((string)->str + (offset)) == *((substring)->str)) && \
401
406
((*((string)->str + (offset) + (substring)->length-1) == *((substring)->str + (substring)->length-1))) && \