
| Current Path : /usr/local/lib/python3.8/dist-packages/scipy/sparse/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/local/lib/python3.8/dist-packages/scipy/sparse/sparsetools.py |
"""
sparsetools is not a public module in scipy.sparse, but this file is
for backward compatibility if someone happens to use it.
"""
from numpy import deprecate
# This file shouldn't be imported by scipy --- SciPy code should use
# internally scipy.sparse._sparsetools
@deprecate(old_name="scipy.sparse.sparsetools",
message=("scipy.sparse.sparsetools is a private module for scipy.sparse, "
"and should not be used."))
def _deprecated():
pass
del deprecate
try:
_deprecated()
except DeprecationWarning:
# don't fail import if DeprecationWarnings raise error -- works around
# the situation with NumPy's test framework
pass
from ._sparsetools import *