Author: Richard Plangger <planri...@gmail.com>
Branch: py3.5
Changeset: r87781:ca062b6f2315
Date: 2016-10-14 12:17 +0200
http://bitbucket.org/pypy/pypy/changeset/ca062b6f2315/

Log:    translation issue, space variable not in scope, it is self

diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -355,7 +355,7 @@
         return W_BytearrayObject(l)
 
     def newutf8(self, string):
-        return space.newunicode(decode_utf8(string))
+        return self.newunicode(decode_utf8(string))
 
     def newunicode(self, uni):
         return W_UnicodeObject(uni)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to