ó
    - jf  ã                  ó:   • S SK Jr  S SKJr  SS jrSS jrS	S jrg)
é    )Úannotations)Úwarnc                 óž  • SSK n SSKJn  SSKn[	        U" UR
                  5      R                  5      nU R                  5       nSn U(       aw  U R                  U5      nUR                  U5      (       d4  [        UR                  SS5      =n(       a(  UR                  S5      (       a  UR                  nUS-  nOO
U(       a  Mw   AU$ ! Af = f)zÂFind the first place in the stack that is not inside narwhals.

Taken from:
https://github.com/pandas-dev/pandas/blob/ab89c53f48df67709a533b6a95ce3d911871a0a8/pandas/util/_exceptions.py#L30-L51
r   N)ÚPathÚco_qualnamezsingledispatch.é   )ÚinspectÚpathlibr   ÚnarwhalsÚstrÚ__file__ÚparentÚcurrentframeÚgetfileÚ
startswithÚgetattrÚf_codeÚf_back)r	   r   ÚnwÚpkg_dirÚframeÚnÚfnameÚqualnames           Ú¢C:\Users\johnn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\narwhals/_exceptions.pyÚfind_stacklevelr      s¾   € ó Ýãä‘$�r—{‘{Ó#×*Ñ*Ó+€Gð × Ñ Ó"€EØ	€AðÞØ—O‘O EÓ*ˆEØ×Ñ ×(Ñ(Ü$ U§\¡\°=À$ÓGÐG�ÕGà×'Ñ'Ð(9×:Ñ:àŸ™�Ø�Q‘‘à÷ ˆeð ð Ø€Høñ ús   ÁA<C	 ÃC	 Ã	Cc                ó2   • [        U [        [        5       S9  g)zËIssue a deprecation warning.

Arguments:
    message: The message associated with the warning.
    _version: Narwhals version when the warning was introduced. Just used for internal
        bookkeeping.
©ÚmessageÚcategoryÚ
stacklevelN)r   ÚDeprecationWarningr   )r   Ú_versions     r   Úissue_deprecation_warningr$   -   s   € ô 	�Ô#5Ä/ÓBSÓTó    c                ó(   • [        X[        5       S9  g )Nr   )r   r   )r   r    s     r   Úissue_warningr'   8   s   € Ü�¼Ó8IÓJr%   N)ÚreturnÚint)r   r   r#   r   r(   ÚNone)r   r   r    ztype[Warning]r(   r*   )Ú
__future__r   Úwarningsr   r   r$   r'   © r%   r   Ú<module>r.      s   ðÝ "å ô$ôNUõKr%   