diff options
author | Cong Ma <cong.ma@obspm.fr> | 2015-11-18 00:09:08 +0100 |
---|---|---|
committer | Cong Ma <cong.ma@obspm.fr> | 2015-11-18 00:09:08 +0100 |
commit | 0b19e6828135f601630d9e715e9ed3ff3ba489c9 (patch) | |
tree | b72c4a868a7046629afcd849249b81f62fb89bc5 /numpy/lib/tests/test_packbits.py | |
parent | 93f1fe8bf83d2c6c9afa93947942caad4a3450a3 (diff) | |
download | numpy-0b19e6828135f601630d9e715e9ed3ff3ba489c9.tar.gz |
MAINT: fix spurious semicolon in macro definition of PyArray_FROM_OT
There is a spurious semicolon (;) character at the end of the macro
definition of PyArray_FROM_OT, in the header file ndarrayobject.h. This
prevents the macro from being used like a function, e.g. one can't write
like
if ( !(arr = PyArray_FROM_OT( ... )) )
... ...
After removing the semicolon, the macro can be used like a C function.
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions