L i VdZgdZGddeZGddeeZGddeeZy) z_This module contains classes used for warnings issued by this library. .. versionadded:: 20.0 )PTBDeprecationWarningPTBRuntimeWarningPTBUserWarningceZdZdZdZy)rz Custom user warning class used for warnings in this library. .. seealso:: :wiki:`Exceptions, Warnings and Logging ` .. versionadded:: 20.0 N__name__ __module__ __qualname____doc__ __slots__rW/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/warnings.pyrrsIr rceZdZdZdZy)rze Custom runtime warning class used for warnings in this library. .. versionadded:: 20.0 rNrrr rrr&s Ir rc4eZdZdZdZdededdfdZdefdZy) raX Custom warning class for deprecations in this library. .. versionchanged:: 20.0 Renamed TelegramDeprecationWarning to PTBDeprecationWarning. Args: version (:obj:`str`): The version in which the feature was deprecated. .. versionadded:: 21.2 message (:obj:`str`): The message to display. .. versionadded:: 21.2 Attributes: version (:obj:`str`): The version in which the feature was deprecated. .. versionadded:: 21.2 message (:obj:`str`): The message to display. .. versionadded:: 21.2 )messageversionrrreturnNc ||_||_y)Nrr)selfrrs r__init__zPTBDeprecationWarning.__init__Ms# # r c:d|jd|jS)zReturns a string representation of the warning, using :attr:`message` and :attr:`version`. .. versionadded:: 21.2 zDeprecated since version z: r)rs r__str__zPTBDeprecationWarning.__str__Qs +4<<.4<<.IIr )rr r r r strrrrr rrr3s6.'I$$c$d$JJr rN)r __all__ UserWarningrRuntimeWarningrDeprecationWarningrrr rrs=$ K [ $JN,>$Jr