From 7481cba614e823e51ff56e9300c285ea028ed5b0 Mon Sep 17 00:00:00 2001 From: Carl Friedrich Bolz-Tereick Date: Fri, 26 Feb 2021 14:09:59 +0100 Subject: fix translation --- pypy/objspace/std/unicodeobject.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py index 1b7a8d07b4..4fa1a98437 100644 --- a/pypy/objspace/std/unicodeobject.py +++ b/pypy/objspace/std/unicodeobject.py @@ -884,6 +884,7 @@ class W_UnicodeObject(W_Root): return self newlength = self._length + replacements * (w_by._length - w_sub._length) + assert res is not None return W_UnicodeObject(res, newlength) def descr_mul(self, space, w_times): -- cgit v1.2.3-65-gdbad