1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed e9bdda4

redefine this

  • Participants
  • Parent commits 7bcdbe1
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/objspace/std/bytearrayobject.py

View file
             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):