Commits

Brian Kearns committed 409e32c

fix choose/repeat name clashes

Comments (0)

Files changed (1)

lib_pypy/numpypy/core/fromnumeric.py

 ######################################################################
 
 import numpypy
-from _numpypy import choose, repeat
+import _numpypy
 
 # Module containing non-deprecated functions borrowed from Numeric.
 __docformat__ = "restructuredtext en"
             [-1, -2, -3, -4, -5]]])
 
     """
-    return choose(a, choices, out, mode)
+    return _numpypy.choose(a, choices, out, mode)
 
 
 def repeat(a, repeats, axis=None):
            [3, 4]])
 
     """
-    return repeat(a, repeats, axis)
+    return _numpypy.repeat(a, repeats, axis)
 
 
 def put(a, ind, v, mode='raise'):