[pypy-commit] pypy py3k: redefine this
bdkearns
noreply at buildbot.pypy.org
Sun May 4 00:45:22 CEST 2014
Author: Brian Kearns <bdkearns at gmail.com>
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):
More information about the pypy-commit
mailing list