diff options
-rw-r--r-- | numpy/numarray/alter_code2.py | 21 | ||||
-rw-r--r-- | numpy/oldnumeric/alter_code2.py | 2 |
2 files changed, 5 insertions, 18 deletions
diff --git a/numpy/numarray/alter_code2.py b/numpy/numarray/alter_code2.py index c1c8ae072..8e30ffb65 100644 --- a/numpy/numarray/alter_code2.py +++ b/numpy/numarray/alter_code2.py @@ -1,29 +1,16 @@ """ -This module converts code written for numpy.oldnumeric to work +This module converts code written for numpy.numarray to work with numpy -Makes the following changes: - * Converts typecharacters '1swu' to 'bhHI' respectively - when used as typecodes - * Changes import statements - * Change typecode= to dtype= - * Eliminates savespace=xxx keyword arguments - * Removes it when keyword is not given as well - * replaces matrixmultiply with dot - * converts functions that don't give axis= keyword that have changed - * converts functions that don't give typecode= keyword that have changed - * converts use of capitalized type-names - * converts old function names in oldnumeric.linear_algebra, - oldnumeric.random_array, and oldnumeric.fft - """ #__all__ = ['fromfile', 'fromstr'] __all__ = [] import warnings -warnings.warn("convetnumericB is not finished yet.") - +warnings.warn("numpy.numarray.alter_code2 is not ready yet.") import sys + + import os import re import glob diff --git a/numpy/oldnumeric/alter_code2.py b/numpy/oldnumeric/alter_code2.py index c1c8ae072..58a8bd925 100644 --- a/numpy/oldnumeric/alter_code2.py +++ b/numpy/oldnumeric/alter_code2.py @@ -21,7 +21,7 @@ Makes the following changes: __all__ = [] import warnings -warnings.warn("convetnumericB is not finished yet.") +warnings.warn("numpy.oldnumeric.alter_code2 is not ready yet.") import sys import os |