Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/sparse/lil.py: 83%

6 statements  

« prev     ^ index     » next       coverage.py v7.4.1, created at 2024-02-14 06:37 +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. 

4 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7 

8__all__ = [ # noqa: F822 

9 'INT_TYPES', 

10 'IndexMixin', 

11 'bisect_left', 

12 'check_reshape_kwargs', 

13 'check_shape', 

14 'getdtype', 

15 'isscalarlike', 

16 'isshape', 

17 'isspmatrix_lil', 

18 'lil_matrix', 

19 'spmatrix', 

20 'upcast_scalar', 

21] 

22 

23 

24def __dir__(): 

25 return __all__ 

26 

27 

28def __getattr__(name): 

29 return _sub_module_deprecation(sub_package="sparse", module="lil", 

30 private_modules=["_lil"], all=__all__, 

31 attribute=name)