Author: Manuel Jacob
Branch: refactor-buffer-api
Changeset: r66425:00d7bc2225d1
Date: 2013-08-28 19:57 +0100
http://bitbucket.org/pypy/pypy/changeset/00d7bc2225d1/

Log:    Fix.

diff --git a/pypy/module/__builtin__/interp_memoryview.py 
b/pypy/module/__builtin__/interp_memoryview.py
--- a/pypy/module/__builtin__/interp_memoryview.py
+++ b/pypy/module/__builtin__/interp_memoryview.py
@@ -173,6 +173,9 @@
     def __init__(self, buf):
         self.buf = buf
 
+    def buffer_w(self, space):
+        return self.buf
+
     @staticmethod
     def descr_new(space, w_subtype, w_object):
         w_memoryview = W_MemoryView(space.buffer_w(w_object))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to