[pypy-commit] pypy default: fix translation

mattip noreply at buildbot.pypy.org
Sun Oct 13 10:23:57 CEST 2013


Author: Matti Picus <matti.picus at gmail.com>
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
 
- at cpython_api([rffi.INT_real], PyObject)
+ at cpython_api([Py_ssize_t], PyObject)
 def _PyArray_DescrFromType(space, typenum):
     try:
         dtype = get_dtype_cache(space).dtypes_by_num[typenum]


More information about the pypy-commit mailing list