mio5.py 638 B

12345678910111213141516171819
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.io.matlab` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'MatWriteError', 'MatReadError', 'MatReadWarning', 'MatlabObject',
  7. 'MatlabFunction', 'mat_struct', 'varmats_from_mat',
  8. ]
  9. def __dir__():
  10. return __all__
  11. def __getattr__(name):
  12. return _sub_module_deprecation(sub_package="io.matlab", module="mio5",
  13. private_modules=["_mio5"], all=__all__,
  14. attribute=name)