Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/sparse/dok.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 'IndexMixin',
10 'check_shape',
11 'dok_matrix',
12 'getdtype',
13 'isdense',
14 'isintlike',
15 'isscalarlike',
16 'isshape',
17 'isspmatrix_dok',
18 'itertools',
19 'spmatrix',
20 'upcast',
21 'upcast_scalar',
22]
25def __dir__():
26 return __all__
29def __getattr__(name):
30 return _sub_module_deprecation(sub_package="sparse", module="dok",
31 private_modules=["_dok"], all=__all__,
32 attribute=name)