traversaltools.py 409 B

123456789101112131415
  1. from sympy.core.traversal import use as _use
  2. from sympy.utilities.decorator import deprecated
  3. use = deprecated(
  4. """
  5. Using use from the sympy.simplify.traversaltools submodule is
  6. deprecated.
  7. Instead, use use from the top-level sympy namespace, like
  8. sympy.use
  9. """,
  10. deprecated_since_version="1.10",
  11. active_deprecations_target="deprecated-traversal-functions-moved"
  12. )(_use)