Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/sparse/base.py: 83%
6 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-03-22 06:44 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-03-22 06:44 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
2# Use the `scipy.sparse` namespace for importing the functions
3# included below.
5from scipy._lib.deprecation import _sub_module_deprecation
8__all__ = [ # noqa: F822
9 'MAXPRINT',
10 'SparseEfficiencyWarning',
11 'SparseFormatWarning',
12 'SparseWarning',
13 'asmatrix',
14 'check_reshape_kwargs',
15 'check_shape',
16 'get_sum_dtype',
17 'isdense',
18 'isscalarlike',
19 'issparse',
20 'isspmatrix',
21 'spmatrix',
22 'validateaxis',
23]
26def __dir__():
27 return __all__
30def __getattr__(name):
31 return _sub_module_deprecation(sub_package="sparse", module="base",
32 private_modules=["_base"], all=__all__,
33 attribute=name)