From: Christopher B. <Chr...@no...> - 2006-07-25 00:43:54
|
Sebastian Haase wrote: > Which is why I was trying to change the str() representation of a type to > something more intuitive. > If nothing else one could even leave > repr(a.dtype) --> '<i4' > but > str(a.dtype) --> 'int32 (little endian)' +1 that's the whole point of __str__. It should be human readable! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |