Commit 9b5cdbd3 authored by Carl Friedrich Bolz-Tereick's avatar Carl Friedrich Bolz-Tereick
Browse files

small improvement

--HG--
branch : py3.7
parent 892f4b904c6c
Pipeline #21761 passed with stage
in 7 minutes and 16 seconds
......@@ -332,8 +332,7 @@ class DecodeBuffer(object):
def set(self, space, w_decoded):
check_decoded(space, w_decoded)
self.ulen = space.len_w(w_decoded)
self.text = space.utf8_w(w_decoded)
self.text, self.ulen = space.utf8_len_w(w_decoded)
self.pos = 0
self.upos = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment