diff options
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r-- | numpy/_import_tools.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py index 21c406961..3df55c26d 100644 --- a/numpy/_import_tools.py +++ b/numpy/_import_tools.py @@ -133,10 +133,10 @@ class PackageLoader: Usage: - This function is intended to shorten the need to import many of + This function is intended to shorten the need to import many subpackages, say of scipy, constantly with statements such as - import scipy.linalg, scipy.fftpack, scipy.etc... + import scipy.linalg, scipy.fftpack, scipy.etc... Instead, you can say: @@ -154,18 +154,19 @@ class PackageLoader: Inputs: - - the names (one or more strings) of all the numpy modules one wishes to - load into the top-level namespace. + - the names (one or more strings) of all the numpy modules one + wishes to load into the top-level namespace. Optional keyword inputs: - verbose - integer specifying verbosity level [default: -1]. verbose=-1 will suspend also warnings. - - force - when True, force reloading loaded packages [default: False]. + - force - when True, force reloading loaded packages + [default: False]. - postpone - when True, don't load packages [default: False] - If no input arguments are given, then all of scipy's subpackages are - imported. + If no input arguments are given, then all of scipy's subpackages + are imported. """ frame = self.parent_frame |