summaryrefslogtreecommitdiff
path: root/numpy/numarray/compat.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-08 07:49:10 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-08 07:49:10 +0000
commit3e3dd665d89496da053f76f120d504e9f1bf1699 (patch)
tree46d7ffc835856c2520958562081fdbf67a476dd4 /numpy/numarray/compat.py
parent50a50441a148a9ea3fbc1629e065d88a4f28a419 (diff)
downloadnumpy-3e3dd665d89496da053f76f120d504e9f1bf1699.tar.gz
Add numarray compatibility.
Diffstat (limited to 'numpy/numarray/compat.py')
-rw-r--r--numpy/numarray/compat.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/numarray/compat.py b/numpy/numarray/compat.py
new file mode 100644
index 000000000..c9fd3ef86
--- /dev/null
+++ b/numpy/numarray/compat.py
@@ -0,0 +1,6 @@
+
+__all__ = ['NewAxis']
+
+from numpy import newaxis
+
+NewAxis = newaxis