+
    ÁFñjü	  ã                   óV   € R t ^ RIHt ^ RIHt ^ RIHt ]! ]4      tR R lt	R R lt
R# )	aE  This module contains helper functions related to inspecting the program stack.

.. versionadded:: 20.0

Warning:
    Contents of this module are intended to be used internally by the library and *not* by the
    user. Changes to this module are not considered breaking changes and may not be documented in
    the changelog.
)ÚPath)Ú	FrameType)Ú
get_loggerc                óJ   € V ^8„  d   QhR\         R,          R\        R\        /# )é   ÚframeNÚcallerÚreturn©r   r   Úbool)Úformats   "ÚO/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/ext/_utils/stack.pyÚ__annotate__r   %   s&   € ÷ ñ œ TÕ)ð ´4ð ¼Dñ ó    c                ó†   € V f   R#  \        W4      #   \         d#   p\        P                  RTR7        Rp?R# Rp?ii ; i)aû  Checks if the passed frame was called by the specified file.

Example:
    .. code:: pycon

        >>> was_called_by(inspect.currentframe(), Path(__file__))
        True

Arguments:
    frame (:obj:`FrameType`): The frame - usually the return value of
        ``inspect.currentframe()``. If :obj:`None` is passed, the return value will be
        :obj:`False`.
    caller (:obj:`pathlib.Path`): File that should be the caller.

Returns:
    :obj:`bool`: Whether the frame was called by the specified file.
NFzJFailed to check if frame was called by `caller`. Assuming that it was not.)Úexc_info)Ú_was_called_byÚ	ExceptionÚ_LOGGERÚdebug)r   r   Úexcs   && r   Úwas_called_byr   %   sH   € ð$ ‚}ÙðÜ˜eÓ,Ð,øÜô Ü�‰ØXØð 	ô 	
õ ûðús   ˆ
 “A ž;»A c                ó<   € V ^8„  d   QhR\         R\        R\        /# )r   r   r   r	   r
   )r   s   "r   r   r   D   s!   € ÷ ñ œ)ð ¬Tð ´dñ r   c                 ó  € \        V P                  P                  4      P                  4       V8X  d   R # V P                  '       dC   V P                  p \        V P                  P                  4      P                  4       V8X  g   KR  R # R# )TF)r   Úf_codeÚco_filenameÚresolveÚf_back)r   r   s   &&r   r   r   D   s]   € äˆE�L‰L×$Ñ$Ó%×-Ñ-Ó/°6Ô9ÙØ
�,�,ˆ,Ø—‘ˆÜ�—‘×(Ñ(Ó)×1Ñ1Ó3°vÖ=ÙÙr   N)Ú__doc__Úpathlibr   Útypesr   Útelegram._utils.loggingr   Ú__name__r   r   r   © r   r   Ú<module>r$      s)   ðñ&õ Ý å .á
�XÓ
€õ÷>r   