summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
diff options
context:
space:
mode:
authorCong Ma <cong.ma@obspm.fr>2015-11-18 00:09:08 +0100
committerCong Ma <cong.ma@obspm.fr>2015-11-18 00:09:08 +0100
commit0b19e6828135f601630d9e715e9ed3ff3ba489c9 (patch)
treeb72c4a868a7046629afcd849249b81f62fb89bc5 /numpy/doc/misc.py
parent93f1fe8bf83d2c6c9afa93947942caad4a3450a3 (diff)
downloadnumpy-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/doc/misc.py')
0 files changed, 0 insertions, 0 deletions