[L ih tdZddlZddlZddlmZmZdededefdZdedededeegeffd Zd ededefd Z y) aHelper 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. `_ N)AnyCallableold_namenew_nameversioncxtdtffd }|jdtddffd }|S)zWAlias one attribute name to another for backward compatibility :meta private: returnc htjddddtdt|S):meta private:zAccess to deprecated property . (Replaced by ) -- Deprecated since version . stacklevelwarningswarnDeprecationWarninggetattr)selfrrrs V/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/bs4/_deprecation.pyaliasz _deprecated_alias..aliassB  ,XJohZOmnumvvw x  tX&&valueNc jtjddddtdt||S)r zWrite to deprecated property r r rrr)rrrsetattr)rrrrrs rrz _deprecated_alias..alias&sD  +H:_XJNlmtluuv w  tXu--r)propertyrsetterstrrrrrs``` r_deprecated_aliasr"sK 's'' \\.3.4.. Lrr c@dtdtdtffd }|S)Nargskwargsr c ttjddddtdt||i|Sr zCall to deprecated method r r rrrr)rr$r%rrrs rrz)_deprecated_function_alias..alias6sL ( /(Kijqirrs t  'wtX&777r)rr!s``` r_deprecated_function_aliasr(3s$838#8#8 Lr replaced_byc0dtdtffd }|S)Nfuncr cntjdtdtdtffd }|S)Nr$r%r c ttjdjdddtd|i|Sr')rr__name__r)r$r%r+r)rs r with_warningz4_deprecated..deprecate..with_warningDsL MM,T]]O?;-Wuv}u~~A"  (( (r) functoolswrapsr)r+r/r)rs` r deprecatez_deprecated..deprecateCs;   ) )s )s )  )r)r)r)rr2s`` r _deprecatedr3Bs  X  r) __doc__r0rtypingrrr r"r(r3rrr7s{  sS:    +.  seSj S38r