[pypy-commit] pypy py3.5: oops

rlamy pypy.commits at gmail.com
Sat Oct 7 12:10:13 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r92637:093af3bb83a7
Date: 2017-10-07 18:09 +0200
http://bitbucket.org/pypy/pypy/changeset/093af3bb83a7/

Log:	oops

diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py
--- a/pypy/module/cpyext/unicodeobject.py
+++ b/pypy/module/cpyext/unicodeobject.py
@@ -69,7 +69,7 @@
 def unicode_attach(space, py_obj, w_obj, w_userdata=None):
     "Fills a newly allocated PyUnicodeObject with a unicode string"
     value = space.unicode_w(w_obj)
-    set_wsize(py_obj, len(value)
+    set_wsize(py_obj, len(value))
     set_wbuffer(py_obj, lltype.nullptr(rffi.CWCHARP.TO))
     _readify(space, py_obj, value)
 


More information about the pypy-commit mailing list