Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a0653c

Browse files
committed
Fixes to convertcode.py
1 parent e74ea10 commit 6a0653c

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

THANKS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Perry Greenfield, J Todd Miller, Rick White, Paul Barrett for Numarray
66
Paul Dubois for Masked Arrays
77
Pearu Peterson for f2py and distutils and help with code organization
88
Robert Kern for mtrand, bug fixes, help with distutils, and code organization
9-
Eric Jones for weave and other sundry subroutines
9+
Eric Jones for sundry subroutines
1010
Fernando Perez for code snippets, ideas, bufixes, and testing.
1111
John Hunter for code snippets (from matplotlib)
1212
Chris Hanley for help with records.py, testing, and bug fixes.

numpy/core/numerictypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
4242
generic
4343
bool_
44-
numeric
44+
number
4545
integer
4646
signedinteger (intxx)
4747
byte

numpy/lib/convertcode.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ def fromstr(filestr):
9595
'numpy.core.multiarray')
9696
filestr, fromall1 = changeimports(filestr, 'umath',
9797
'numpy.core.umath')
98-
filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy.core')
99-
filestr, fromall2 = changeimports(filestr, 'numerix', 'numpy.core')
100-
filestr, fromall3 = changeimports(filestr, 'numpy_base', 'numpy.core')
101-
filestr, fromall3 = changeimports(filestr, 'MLab', 'numpy.core.mlab')
98+
filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy')
99+
filestr, fromall2 = changeimports(filestr, 'numerix', 'numpy')
100+
filestr, fromall3 = changeimports(filestr, 'numpy_base', 'numpy')
101+
filestr, fromall3 = changeimports(filestr, 'MLab', 'numpy.lib.mlab')
102102
filestr, fromall3 = changeimports(filestr, 'LinearAlgebra', 'numpy.linalg')
103103
filestr, fromall3 = changeimports(filestr, 'RNG', 'numpy.random')
104104
filestr, fromall3 = changeimports(filestr, 'RandomArray', 'numpy.random')

0 commit comments

Comments
 (0)