
    Yi
                     V    S r / SQr " S S\5      r " S S\\5      r " S S\\5      rg)	z_This module contains classes used for warnings issued by this library.

.. versionadded:: 20.0
)PTBDeprecationWarningPTBRuntimeWarningPTBUserWarningc                       \ rS rSrSrSrSrg)r      z
Custom user warning class used for warnings in this library.

.. seealso:: :wiki:`Exceptions, Warnings and Logging <Exceptions%2C-Warnings-and-Logging>`

.. versionadded:: 20.0
 N__name__
__module____qualname____firstlineno____doc__	__slots____static_attributes__r       </app/.venv/lib/python3.13/site-packages/telegram/warnings.pyr   r      s     Ir   r   c                       \ rS rSrSrSrSrg)r   &   zY
Custom runtime warning class used for warnings in this library.

.. versionadded:: 20.0
r   Nr   r   r   r   r   r   &   s     Ir   r   c                   @    \ rS rSrSrSrS\S\SS4S jrS\4S	 jrSr	g)
r   3   a   
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
)messageversionr   r   returnNc                     Xl         X l        g )Nr   r   )selfr   r   s      r   __init__PTBDeprecationWarning.__init__M   s    ##r   c                 :    SU R                    SU R                   3$ )zsReturns a string representation of the warning, using :attr:`message` and
:attr:`version`.

.. versionadded:: 21.2
zDeprecated since version z: r   )r   s    r   __str__PTBDeprecationWarning.__str__Q   s     +4<<.4<<.IIr   )
r	   r
   r   r   r   r   strr   r   r   r   r   r   r   r   3   s6    . 'I$ $c $d $J Jr   r   N)r   __all__UserWarningr   RuntimeWarningr   DeprecationWarningr   r   r   r   <module>r&      s=   $
 K	[ 	 $JN,> $Jr   