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)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to