From 9d98d9d5e3668d3b8da3bb3019a28d6e945d6fad Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Fri, 4 Aug 2006 23:38:27 +0000 Subject: Add back dft stub and alter warning. --- numpy/dft/__init__.py | 4 ++++ numpy/lib/UserArray.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 numpy/dft/__init__.py (limited to 'numpy') 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') -- cgit v1.2.1