summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-04 23:38:27 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-04 23:38:27 +0000
commit9d98d9d5e3668d3b8da3bb3019a28d6e945d6fad (patch)
treeea12be1cec790a5d8e5bfc354ea2ccd68c1ebec1 /numpy
parent06ad6340a1d6ec0adc6faf280b9030946efe2c7f (diff)
downloadnumpy-9d98d9d5e3668d3b8da3bb3019a28d6e945d6fad.tar.gz
Add back dft stub and alter warning.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/dft/__init__.py4
-rw-r--r--numpy/lib/UserArray.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/numpy/dft/__init__.py b/numpy/dft/__init__.py
new file mode 100644
index 000000000..7c7ea4d72
--- /dev/null
+++ b/numpy/dft/__init__.py
@@ -0,0 +1,4 @@
+import warnings
+warnings.warn("The dft subpackage will be removed by 1.0 final -- it is now called fft")
+from numpy.fft import *
+del warnings
diff --git a/numpy/lib/UserArray.py b/numpy/lib/UserArray.py
index 0245fe5e9..88da4952c 100644
--- a/numpy/lib/UserArray.py
+++ b/numpy/lib/UserArray.py
@@ -1,3 +1,3 @@
from user_array import container as UserArray
import warnings
-warnings.warn('UserArray.UserArray is deprecated use user_array.container')
+warnings.warn('UserArray.UserArray will be removed by 1.0final use user_array.container')