[pypy-commit] pypy py3k: Fix translation.
Manuel Jacob
noreply at buildbot.pypy.org
Wed Mar 19 07:34:20 CET 2014
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")
More information about the pypy-commit
mailing list