[pypy-commit] pypy default: make this numpy import relative
bdkearns
noreply at buildbot.pypy.org
Tue Oct 15 01:17:57 CEST 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r67377:f84ecdace85b
Date: 2013-10-14 19:17 -0400
http://bitbucket.org/pypy/pypy/changeset/f84ecdace85b/
Log: make this numpy import relative
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
@@ -606,7 +606,7 @@
[ 0., 0., 1.]])
"""
- from numpy import eye
+ from .. import eye
return eye(n, dtype=dtype)
Inf = inf = infty = Infinity = PINF
More information about the pypy-commit
mailing list