Author: Matti Picus <[email protected]>
Branch: buffer-interface
Changeset: r86758:f4f5cd8cb121
Date: 2016-08-31 05:05 +0300
http://bitbucket.org/pypy/pypy/changeset/f4f5cd8cb121/
Log: add missing attribute
diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -335,6 +335,9 @@
def getshape(self):
return self.shape
+ def getstrides(self):
+ return self.strides
+
def getitemsize(self):
return self.itemsize
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit