
    Vi
                     H    S r SSKrSSKJr  \" \5      r " S S\5      rS rg)z
Note that DeprecationWarnings are ignored by default in Python
2.7/3.2+, so be sure to either un-ignore them in your code, or run
Python with the -Wd flag.
    N)warnc                   4   ^  \ rS rSrU 4S jrU 4S jrSrU =r$ )DeprecatableModule0   c                    > UR                   n[        [        U ]  US9  U R                  R                  UR                  5        g )N)name)__name__superr   __init____dict__update)selfmoduler   	__class__s      d/home/james-whalen/.local/share/pipx/venvs/semgrep/lib/python3.13/site-packages/boltons/deprutils.pyr   DeprecatableModule.__init__1   s5     $0d0;V__-    c                    > [         [        U ]
  n U" S5      nU" U5      nUR                  U5      nUb  [        U[        SS9  U$ ! [         a    0 =U l        n NBf = f)N_deprecated_members   )
stacklevel)r
   r   __getattribute__AttributeErrorr   getr   DeprecationWarning)r   r   get_attributedeprosretmessager   s         r   r   #DeprecatableModule.__getattribute__6   sp    0$H	3"#89F D!**T",;
  	3022D$v	3s   A AA)r   )r	   
__module____qualname____firstlineno__r   r   __static_attributes____classcell__)r   s   @r   r   r   0   s    .

 
r   r   c                     [         R                  U    n[        U[        5      (       d  [        U5      =[         R                  U '   nX#R                  U'   g )N)sysmodules
isinstancer   r   )mod_namer   r   r   s       r   deprecate_module_memberr+   C   sG    [["Ff011);F)CCH'.t$
r   )__doc__r'   warningsr   type
ModuleTyper   r+    r   r   <module>r1      s-   D  #Y

 &r   