@@ -135,33 +135,33 @@ def _get_sorted_names(self):
135135 return package_names
136136
137137 def __call__ (self ,* packages , ** options ):
138- """Load one or more packages into scipy 's top-level namespace.
138+ """Load one or more packages into numpy 's top-level namespace.
139139
140140 Usage:
141141
142- This function is intended to shorten the need to import many of scipy 's
142+ This function is intended to shorten the need to import many of numpy 's
143143 submodules constantly with statements such as
144144
145- import scipy .linalg, scipy .fft, scipy .etc...
145+ import numpy .linalg, numpy .fft, numpy .etc...
146146
147147 Instead, you can say:
148148
149- import scipy
150- scipy .pkgload('linalg','fft',...)
149+ import numpy
150+ numpy .pkgload('linalg','fft',...)
151151
152152 or
153153
154- scipy .pkgload()
154+ numpy .pkgload()
155155
156156 to load all of them in one call.
157157
158- If a name which doesn't exist in scipy 's namespace is
158+ If a name which doesn't exist in numpy 's namespace is
159159 given, an exception [[WHAT? ImportError, probably?]] is raised.
160160 [NotImplemented]
161161
162162 Inputs:
163163
164- - the names (one or more strings) of all the scipy modules one wishes to
164+ - the names (one or more strings) of all the numpy modules one wishes to
165165 load into the top-level namespace.
166166
167167 Optional keyword inputs:
@@ -170,7 +170,7 @@ def __call__(self,*packages, **options):
170170 - force - when True, force reloading loaded packages [default: False].
171171 - postpone - when True, don't load packages [default: False]
172172
173- If no input arguments are given, then all of scipy 's subpackages are
173+ If no input arguments are given, then all of numpy 's subpackages are
174174 imported.
175175
176176
@@ -297,18 +297,18 @@ def error(self,mess):
297297pkgload = PackageLoader ()
298298
299299if show_core_config is None :
300- print >> sys .stderr , 'Running from scipy core source directory.'
300+ print >> sys .stderr , 'Running from numpy core source directory.'
301301else :
302302 from core_version import version as __core_version__
303303
304304 pkgload ('testing' ,'base' ,'corefft' ,'corelinalg' ,'random' ,
305305 verbose = SCIPY_IMPORT_VERBOSE )
306306
307307
308- test = ScipyTest ('scipy ' ).test
308+ test = ScipyTest ('numpy ' ).test
309309 __all__ .append ('test' )
310310
311- __scipy_doc__ = """
311+ __numpy_doc__ = """
312312
313313SciPy: A scientific computing package for Python
314314================================================
@@ -318,18 +318,18 @@ def error(self,mess):
318318"""
319319
320320if NO_SCIPY_IMPORT is not None :
321- print >> sys .stderr , 'Skip importing scipy packages (NO_SCIPY_IMPORT=%s)' % (NO_SCIPY_IMPORT )
322- show_scipy_config = None
321+ print >> sys .stderr , 'Skip importing numpy packages (NO_SCIPY_IMPORT=%s)' % (NO_SCIPY_IMPORT )
322+ show_numpy_config = None
323323elif show_core_config is None :
324- show_scipy_config = None
324+ show_numpy_config = None
325325else :
326326 try :
327- from __scipy_config__ import show as show_scipy_config
327+ from __numpy_config__ import show as show_numpy_config
328328 except ImportError :
329- show_scipy_config = None
329+ show_numpy_config = None
330330
331331
332- if show_scipy_config is not None :
333- from scipy_version import scipy_version as __scipy_version__
334- __doc__ += __scipy_doc__
332+ if show_numpy_config is not None :
333+ from numpy_version import numpy_version as __numpy_version__
334+ __doc__ += __numpy_doc__
335335 pkgload (verbose = SCIPY_IMPORT_VERBOSE ,postpone = True )
0 commit comments