fcode.py 551 B

1234567891011121314151617181920
  1. """
  2. .. deprecated:: 1.7
  3. fcode.py was deprecated and renamed to fortran.py. This is a shim file to
  4. provide backwards compatibility.
  5. """
  6. from sympy.utilities.exceptions import sympy_deprecation_warning
  7. sympy_deprecation_warning(
  8. """
  9. The sympy.printing.fcode submodule is deprecated. It has been renamed to
  10. sympy.printing.fortran.
  11. """,
  12. deprecated_since_version="1.7",
  13. active_deprecations_target="deprecated-printing-code-submodules",
  14. )
  15. from .fortran import fcode, print_fcode, known_functions, FCodePrinter # noqa:F401