summaryrefslogtreecommitdiff
path: root/numpy/numarray
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2012-02-04 16:28:28 -0800
committerCharles Harris <charlesr.harris@gmail.com>2012-04-06 15:54:30 -0600
commite1218cc68ddab6b806628877de19394616df04f7 (patch)
tree19f29d1532ec15098db09431ad369b28b7b2d03e /numpy/numarray
parent5ede7c7bc2e9342269e708fd183c5311917b9169 (diff)
downloadnumpy-e1218cc68ddab6b806628877de19394616df04f7.tar.gz
DEP: Update all the '#define NPY_NO_DEPRECATED_API' instances to be
versioned
Diffstat (limited to 'numpy/numarray')
-rw-r--r--numpy/numarray/_capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c
index 7b866a8be..fee07d79d 100644
--- a/numpy/numarray/_capi.c
+++ b/numpy/numarray/_capi.c
@@ -1,6 +1,6 @@
#include <Python.h>
-#define NPY_NO_DEPRECATED_API
+#define NPY_NO_DEPRECATED_API NPY_API_VERSION
#define _libnumarray_MODULE
#include "include/numpy/libnumarray.h"
#include "numpy/npy_3kcompat.h"