From: Perry G. <pe...@st...> - 2004-05-14 15:28:06
|
Todd Miller wrote: > > So, while this feels like walking backward, you can say: > > y = int(self.height) - y.astype('s') > > and expect it to work with either. > If this is used as the workaround, perhaps local (to the module) versions of Int16 and such can be defined as 's' and so forth so that it will be easier to update code rather than litter it with such character codes. Perry |