[pypy-commit] pypy py3k-memoryview: Fix.

Manuel Jacob noreply at buildbot.pypy.org
Tue May 20 03:13:08 CEST 2014


Author: Manuel Jacob
Branch: py3k-memoryview
Changeset: r71596:7a33e5f4c334
Date: 2014-05-20 02:59 +0200
http://bitbucket.org/pypy/pypy/changeset/7a33e5f4c334/

Log:	Fix.

diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py
--- a/pypy/objspace/std/memoryobject.py
+++ b/pypy/objspace/std/memoryobject.py
@@ -122,7 +122,7 @@
 
     def descr_len(self, space):
         self._check_released(space)
-        return space.wrap(self.buf.getlength())
+        return space.wrap(self.getlength())
 
     def w_get_format(self, space):
         self._check_released(space)


More information about the pypy-commit mailing list