[pypy-commit] pypy refactor-buffer-api: Fix.

Manuel Jacob noreply at buildbot.pypy.org
Wed Aug 28 20:57:26 CEST 2013


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))


More information about the pypy-commit mailing list