[pypy-commit] pypy newindex: add newaxis keyword to numpy.numeric

MichaelBlume noreply at buildbot.pypy.org
Sat Mar 17 09:38:31 CET 2012


Author: Mike Blume <mike at loggly.com>
Branch: newindex
Changeset: r53753:db64d273fc46
Date: 2012-03-14 16:06 -0700
http://bitbucket.org/pypy/pypy/changeset/db64d273fc46/

Log:	add newaxis keyword to numpy.numeric

diff --git a/lib_pypy/numpypy/core/numeric.py b/lib_pypy/numpypy/core/numeric.py
--- a/lib_pypy/numpypy/core/numeric.py
+++ b/lib_pypy/numpypy/core/numeric.py
@@ -6,7 +6,7 @@
 import _numpypy as multiarray # ARGH
 from numpypy.core.arrayprint import array2string
 
-
+newaxis = None
 
 def asanyarray(a, dtype=None, order=None, maskna=None, ownmaskna=False):
     """
@@ -319,4 +319,4 @@
 False_ = bool_(False)
 True_ = bool_(True)
 e = math.e
-pi = math.pi
\ No newline at end of file
+pi = math.pi


More information about the pypy-commit mailing list