diff options
Diffstat (limited to 'Objects/stringlib/split.h')
-rw-r--r-- | Objects/stringlib/split.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/split.h b/Objects/stringlib/split.h index 31f77a7..068047f 100644 --- a/Objects/stringlib/split.h +++ b/Objects/stringlib/split.h @@ -48,7 +48,7 @@ /* Always force the list to the expected size. */ -#define FIX_PREALLOC_SIZE(list) Py_SIZE(list) = count +#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count) Py_LOCAL_INLINE(PyObject *) STRINGLIB(split_whitespace)(PyObject* str_obj, |