+
     2ih	  c                   sN    R t ^ RIt^ RIt^ RIHtHt R R ltR R ltR R ltR# )	a  Helper functions for deprecation.

This interface is itself unstable and may change without warning. Do
not use these functions yourself, even as a joke. The underscores are
there for a reason. No support will be given.

In particular, most of this will go away without warning once
Beautiful Soup drops support for Python 3.11, since Python 3.12
defines a `@typing.deprecated()
decorator. <https://peps.python.org/pep-0702/>`_
N)AnyCallablec                <    V ^8  d   QhR\         R\         R\         /# )   old_namenew_nameversionstrZformat   "5/usr/lib/python3.14/site-packages/bs4/_deprecation.py__annotate__r      s!       s S     c                sh   a aa \         R VV V3R ll4       pVP                  R VV V3R ll4       pV# )zOAlias one attribute name to another for backward compatibility

:meta private:
c                s$    V ^8  d   QhR\         /# )r   returnr    r	   r
   r   r   '_deprecated_alias.<locals>.__annotate__   s     ' 's 'r   c           	     sj   < \         P                  ! RS RS RS R2\        ^R7       \        V S4      # ):meta private:zAccess to deprecated property . (Replaced by ) -- Deprecated since version .Z
stacklevelwarningswarnDeprecationWarningZgetattr)selfr   r   r   s   &r   alias _deprecated_alias.<locals>.alias   sB     	,XJohZOmnumvvwx	

 tX&&r   c                s(    V ^8  d   QhR\         RR/# )r   valuer   Nr   r	   r
   r   r   r   '   s     . .3 .4 .r   c           	     sl   < \         P                  ! RS RS RS R2\        ^R7       \        V SV4      # )r   zWrite to deprecated property r   r   r   r   )r   r   r   Zsetattr)r   r   r   r   r   s   &&r   r   r   &   sD     	+H:_XJNlmtluuvw	

 tXu--r   )ZpropertyZsetterr   r   r   r      fff r   _deprecated_aliasr       s@     ' ' ' \\. . . Lr   c          
      sl    V ^8  d   QhR\         R\         R\         R\        \        .\        3,          /# )r   r   r   r   r   )r   r   r    r	   r
   r   r   r   3   s7       +.seSjr   c                 s"   a aa R  VV V3R llpV# )c                r   r   argskwargsr   r   r	   r
   r   r   Z0_deprecated_function_alias.<locals>.__annotate__6   s!     8 83 8# 8# 8r   c           	     sv   < \         P                  ! RS RS RS R2\        ^R7       \        V S4      ! V/ VB # r   zCall to deprecated method r   r   r   r   r   )r   r"   r#   r   r   r   s   &*,r   r   Z)_deprecated_function_alias.<locals>.alias6   sJ    (
/(Kijqirrst	

 tX&777r    r   r   r   _deprecated_function_aliasr&   3   s    8 8 Lr   c                s<    V ^8  d   QhR\         R\         R\        /# )r   replaced_byr   r   )r   r   r	   r
   r   r   r   B   s!      S 3 8 r   c                 s   a a R  V V3R llpV# )c                s0    V ^8  d   QhR\         R\         /# )r   funcr   )r   r	   r
   r   r   Z!_deprecated.<locals>.__annotate__C   s       X r   c                 sR   <a  \         P                  ! S 4      R  V VV3R ll4       pV# )c                r   r!   r   r	   r
   r   r   Z4_deprecated.<locals>.deprecate.<locals>.__annotate__E   s!     	) 	) 	)s 	)s 	)r   c            	     sv   < \         P                  ! RSP                   RS RS R2\        ^R7       S! V / VB # r$   )r   r   Z__name__r   )r"   r#   r(   r'   r   s   *,r   with_warningZ4_deprecated.<locals>.deprecate.<locals>.with_warningD   sL     MM,T]]O?;-Wuv}u~~  A"
 (((r   )	functoolsZwraps)r(   r)   r'   r   s   f r   	deprecateZ_deprecated.<locals>.deprecateC   s+    			) 	) 
	) r   r%   )r'   r   r+   s   ff r   _deprecatedr,   B   s      r   )	Z__doc__r*   r   Ztypingr    r   r    r&   r,   r%   r   r   <module>r-      s&   
  :r   