summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-07-13 23:56:51 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-07-13 23:56:51 +0000
commit39e305137d5d3df233d87b3fb903fcdc81750d65 (patch)
tree3fc7c1cdd49aa25e4273ed0db6ff3e26c21f54f7 /numpy/core/src/arrayobject.c
parentc62bdcbb4bfbed32bc3df144ece9cce1dc11e775 (diff)
downloadnumpy-39e305137d5d3df233d87b3fb903fcdc81750d65.tar.gz
Move DEPRECATE macro to ndarrayobject.h.
Deprecate PyArray_As1D. Remove deprecated functions from fftpack_listmodule.c. There may need to be further fixes on 64 bit platforms, we will see.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index d496233e9..2b4ec2ea9 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -22,12 +22,6 @@ maintainer email: oliphant.travis@ieee.org
*/
/*#include <stdio.h>*/
-#if PY_VERSION_HEX >= 0x02050000
-#define DEPRECATE(msg) PyErr_WarnEx(PyExc_DeprecationWarning,msg,1)
-#else
-#define DEPRECATE(msg) PyErr_Warn(PyExc_DeprecationWarning,msg)
-#endif
-
/*NUMPY_API
* Get Priority from object
*/