Author: Brian Kearns <[email protected]>
Branch: py3k
Changeset: r71247:e9bdda4d9ef2
Date: 2014-05-03 18:44 -0400
http://bitbucket.org/pypy/pypy/changeset/e9bdda4d9ef2/

Log:    redefine this

diff --git a/pypy/objspace/std/bytearrayobject.py 
b/pypy/objspace/std/bytearrayobject.py
--- a/pypy/objspace/std/bytearrayobject.py
+++ b/pypy/objspace/std/bytearrayobject.py
@@ -50,7 +50,8 @@
             raise oefmt(space.w_IndexError, "bytearray index out of range")
         return space.wrap(ord(character))
 
-    _val = charbuf_w
+    def _val(self, space):
+        return ''.join(self.data)
 
     @staticmethod
     def _op_val(space, w_other):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to