[Numpy-discussion] Unicode revisited
Stefan Krah
stefan-usenet at bytereef.org
Sat Aug 4 07:58:53 EDT 2012
Nathaniel Smith <njs at pobox.com> wrote:
> On Sat, Aug 4, 2012 at 11:42 AM, Stefan Krah <stefan-usenet at bytereef.org> wrote:
> > switch (descr->byteorder) {
> > case '<':
> > byteorder = -1;
> > case '>':
> > byteorder = 1;
> > default: /* '=', '|' */
> > byteorder = 0;
> > }
>
> I think you might want some breaks in here...
Indeed. Shame on me for posting quick-and-dirty code.
Stefan Krah
More information about the NumPy-Discussion
mailing list