ccode.py 712 B

1234567891011121314151617181920212223
  1. """
  2. .. deprecated:: 1.7
  3. ccode.py was deprecated and renamed to c.py. This is a shim file to provide
  4. backwards compatibility.
  5. """
  6. from sympy.utilities.exceptions import sympy_deprecation_warning
  7. sympy_deprecation_warning(
  8. """
  9. The sympy.printing.ccode submodule is deprecated. It has been renamed to
  10. sympy.printing.c.
  11. """,
  12. deprecated_since_version="1.7",
  13. active_deprecations_target="deprecated-printing-code-submodules",
  14. )
  15. from .c import (ccode, print_ccode, known_functions_C89, known_functions_C99, # noqa:F401
  16. reserved_words, reserved_words_c99, get_math_macros,
  17. C89CodePrinter, C99CodePrinter, C11CodePrinter,
  18. c_code_printers)