Author: Matti Picus <[email protected]>
Branch: 
Changeset: r67342:218eb71b2288
Date: 2013-10-13 11:24 +0300
http://bitbucket.org/pypy/pypy/changeset/218eb71b2288/

Log:    fix translation

diff --git a/pypy/module/cpyext/ndarrayobject.py 
b/pypy/module/cpyext/ndarrayobject.py
--- a/pypy/module/cpyext/ndarrayobject.py
+++ b/pypy/module/cpyext/ndarrayobject.py
@@ -171,7 +171,7 @@
         w_array.implementation.shape = []
     return w_array
 
-@cpython_api([rffi.INT_real], PyObject)
+@cpython_api([Py_ssize_t], PyObject)
 def _PyArray_DescrFromType(space, typenum):
     try:
         dtype = get_dtype_cache(space).dtypes_by_num[typenum]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to