summaryrefslogtreecommitdiff
path: root/numpy/numarray/compat.py
diff options
context:
space:
mode:
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