Author: Manuel Jacob
Branch: py3k-memoryview
Changeset: r61957:48a23a9cfefd
Date: 2013-03-03 19:15 +0100
http://bitbucket.org/pypy/pypy/changeset/48a23a9cfefd/

Log:    Set default format and itemsize to the same value as before.

diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py
--- a/pypy/interpreter/buffer.py
+++ b/pypy/interpreter/buffer.py
@@ -27,6 +27,8 @@
     """Abstract base class for memory views."""
 
     __slots__ = ('format', 'itemsize')
+    format = 'B'
+    itemsize = 1
 
     def getlength(self):
         raise NotImplementedError
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to