diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4756df7db2..3d8c8952f3 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9799,10 +9799,11 @@ PyUnicode_Join(PyObject *separator, PyObject *seq) for (; i_ < (length); ++i_, ++to_) *to_ = (value); \ break; \ } \ - default: { \ + case PyUnicode_4BYTE_KIND: { \ Py_UCS4 * to_ = (Py_UCS4 *)((data)) + (start); \ for (; i_ < (length); ++i_, ++to_) *to_ = (value); \ break; \ + default: assert(0); \ } \ } \ } while (0) |