cxxcode.py 604 B

123456789101112131415161718192021
  1. """
  2. .. deprecated:: 1.7
  3. cxxcode.py was deprecated and renamed to cxx.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.cxxcode submodule is deprecated. It has been renamed to
  10. sympy.printing.cxx.
  11. """,
  12. deprecated_since_version="1.7",
  13. active_deprecations_target="deprecated-printing-code-submodules",
  14. )
  15. from .cxx import (cxxcode, reserved, CXX98CodePrinter, # noqa:F401
  16. CXX11CodePrinter, CXX17CodePrinter, cxx_code_printers)