Author: Brian Kearns <bdkea...@gmail.com> Branch: refactor-buffer-api Changeset: r70925:9859bb1e1b5e Date: 2014-04-24 03:50 -0400 http://bitbucket.org/pypy/pypy/changeset/9859bb1e1b5e/
Log: fix translation diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/interpreter/baseobjspace.py @@ -1437,7 +1437,7 @@ try: return w_obj.readbuf_w(self).as_str() except TypeError: - self._getarg_error("string or read-only buffer") + self._getarg_error("string or read-only buffer", w_obj) elif code == 'w*': try: try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit