Author: Manuel Jacob Branch: py3k Changeset: r70084:34feb354a1da Date: 2014-03-19 07:33 +0100 http://bitbucket.org/pypy/pypy/changeset/34feb354a1da/
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 @@ -197,7 +197,7 @@ w_impl = space.lookup(self, '__buffer__') if w_impl is not None: w_result = space.get_and_call_function(w_impl, self) - if space.isinstance_w(w_result, space.w_buffer): + if space.isinstance_w(w_result, space.w_memoryview): return w_result.buffer_w(space) self._typed_unwrap_error(space, "buffer") _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit