Ralph Heinkel wrote: > However here something is strange: > > >>>> arr = array([('john', 4),('mark', 3)], >>>> > dtype=[(('source:yy', 'name'),'O'),(('source:xx','id'),int)]) > >>>> arr[0] >>>> > ('john', 4) > >>>> arr[0][0] >>>> > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: function takes at most 2 arguments (3 given) > > > Any ideas what I'm doing wrong? Any help would be appreciated. > > This is a bug in NumPy. I will fix it in the trunk tonight.
-Travis -- Travis Oliphant Enthought, Inc. (512) 536-1057 (office) (512) 536-1059 (fax) http://www.enthought.com oliph...@enthought.com _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion