Module Expr Str ImportFrom alias alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Str If NameLoad body If NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr BinOpMod Str NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str NameLoad If NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad Assign NameStore BinOpAdd Str NameLoad orelse Assign NameStore Str AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad
N/A N/A 
General SymPy exceptions and warnings.
 __future__ print_function division N/A warnings sympy.utilities.misc filldedent SymPyDeprecationWarning N/A DeprecationWarning N/A N/A A warning for deprecated features of SymPy.

    This class is expected to be used with the warnings.warn function (note
    that one has to explicitly turn on deprecation warnings):

    >>> import warnings
    >>> from sympy.utilities.exceptions import SymPyDeprecationWarning
    >>> warnings.simplefilter(
    ...     "always", SymPyDeprecationWarning)
    >>> warnings.warn(
    ...     "Don't do this, it's deprecated",
    ...     SymPyDeprecationWarning) #doctest:+SKIP
    __main__:1: SymPyDeprecationWarning: "Don't do this, it's deprecated"

    The recommended way to use this class is, however, is by calling
    the warn method after constructing the message:

        >>> SymPyDeprecationWarning("Don't do this, it's deprecated.").warn() #doctest:+SKIP
        __main__:1: SymPyDeprecationWarning:

        Don't do this, it's deprecated.

          warning (see_above, SymPyDeprecationWarning)

    To provide additional information, create an instance of this
    class in this way:

    >>> SymPyDeprecationWarning(
    ...     feature="Such and such",
    ...     last_supported_version="1.2.3",
    ...     useinstead="this other feature")
    Such and such has been deprecated. It will be last supported in SymPy
    version 1.2.3. Use this other feature instead.

    Note that the text in ``feature`` begins a sentence, so if it begins with
    a plain English word, the first letter of that word should be capitalized.

    Either (or both) of the arguments ``last_supported_version`` and
    ``useinstead`` can be omitted. In this case the corresponding sentence
    will not be shown:

    >>> SymPyDeprecationWarning(feature="Such and such",
    ...     useinstead="this other feature")
    Such and such has been deprecated. Use this other feature instead.

    You can still provide the argument value.  If it is a string, it
    will be appended to the end of the message:

    >>> SymPyDeprecationWarning(
    ...     feature="Such and such",
    ...     useinstead="this other feature",
    ...     value="Contact the developers for further information.")
    Such and such has been deprecated. Use this other feature instead.
    Contact the developers for further information.

    If, however, the argument value does not hold a string, a string
    representation of the object will be appended to the message:

    >>> SymPyDeprecationWarning(
    ...     feature="Such and such",
    ...     useinstead="this other feature",
    ...     value=[1,2,3])
    Such and such has been deprecated. Use this other feature instead.
    ([1, 2, 3])

    To associate an issue with a deprecation, use the ``issue`` flag.

    >>> SymPyDeprecationWarning(
    ...    feature="Old feature",
    ...    useinstead="new feature",
    ...    issue=5241)
    Old feature has been deprecated. Use new feature instead. See
    https://github.com/sympy/sympy/issues/5241 for more info.

    Every formal deprecation should have an associated issue in the GitHub
    issue tracker.  All such issues should have the DeprecationRemoval
    tag.

    Additionally, each formal deprecation should mark the first release for
    which it was deprecated.  Use the ``deprecated_since_version`` flag for
    this.

    >>> SymPyDeprecationWarning(
    ...    feature="Old feature",
    ...    useinstead="new feature",
    ...    deprecated_since_version="0.7.2")
    Old feature has been deprecated since SymPy 0.7.2. Use new feature
    instead.

    Note that it may be necessary to go back through all the deprecations
    before a release to make sure that the version number is correct.  So just
    use what you believe will be the next release number (this usually means
    bumping the minor number by one).

    To mark a function as deprecated, you can use the decorator
    @deprecated.

    See Also
    ========
    sympy.core.decorators.deprecated

     __init__ N/A N/A self value feature last_supported_version useinstead issue deprecated_since_version N/A None None None None None None N/A N/A N/A self fullMessage N/A feature N/A N/A deprecated_since_version N/A N/A N/A self fullMessage N/A %s has been deprecated since SymPy %s.  N/A feature deprecated_since_version N/A N/A N/A self fullMessage N/A %s has been deprecated.  feature N/A last_supported_version N/A N/A N/A self fullMessage N/A It will be last supported in SymPy version %s.  last_supported_version N/A useinstead N/A N/A N/A self fullMessage N/A Use %s instead.  useinstead N/A issue N/A N/A N/A self fullMessage N/A See https://github.com/sympy/sympy/issues/%d for more info.  issue N/A value N/A N/A N/A N/A isinstance value str N/A N/A value N/A (%s) N/A repr value N/A value N/A value N/A N/A value N/A N/A self fullMessage value N/A __str__ N/A N/A self N/A N/A N/A N/A 
%s
 N/A filldedent N/A self fullMessage N/A warn N/A N/A self stacklevel N/A 2 N/A N/A see_above N/A self fullMessage N/A N/A N/A warnings warn see_above SymPyDeprecationWarning stacklevel stacklevel N/A N/A N/A N/A N/A warnings simplefilter once SymPyDeprecationWarning