Dear Ted, * Ted Sandler <ted.sand...@gmail.com> [2014-07-03]: > Hi all, is there a spec or grammar for valid values of numpy dtype > descriptor strings? > > I am writing code to parse ".npy" files from Java and want to be able to > handle the range of ndarray descriptor strings. I came across this code: > > dtype = numpy.dtype(d['descr']) > > at line 267 in format.py: > > https://github.com/numpy/numpy/blob/master/numpy/lib/format.py > > However, I can't seem to find where it's implemented.
Not sure exactly, what you are looking for, but maybe the following helps: https://github.com/numpy/numpy/blob/master/numpy/lib/format.py#L210 best, V- _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion