[Numpy-tickets] [NumPy] #320: Another typo in records.py
NumPy
numpy-tickets at scipy.net
Thu Oct 5 09:59:28 CDT 2006
#320: Another typo in records.py
---------------------+------------------------------------------------------
Reporter: faltet | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version: devel
Severity: trivial | Keywords:
---------------------+------------------------------------------------------
{{{
--- numpy/core/records.py 2006-10-05 16:11:39.000000000 +0200
+++ /usr/lib/python2.4/site-packages/numpy/core/records.py 2006-10-05
16:45:08.000000000 +0200
@@ -306,7 +306,7 @@
for k, obj in enumerate(arrayList):
nn = len(descr[k].shape)
if obj.shape[nn:] != shape:
- raise ValueError, "array-shape mismatch in array", k
+ raise ValueError, "array-shape mismatch in array %s" % k
_array = recarray(shape, descr)
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/320>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list