| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/bs4/__pycache__/ |
Upload File : |
�
V �gZ �
�t � d Z ddlZddlZddlmZmZ dededefd�Zdedededeegef fd �Zd
ededefd�Z y)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�Callable�old_name�new_name�versionc �x � ��� t dt f�� �fd�� }|j dt ddf�� �fd�� }|S )zWAlias one attribute name to another for backward compatibility
:meta private:
�returnc �h �� t j d�� d�� d�� d�t d�� t | �� S )�:meta private:zAccess to deprecated property �. (Replaced by �) -- Deprecated since version �.� ��
stacklevel��warnings�warn�DeprecationWarning�getattr)�selfr r r s ����2C:\Python312\Lib\site-packages\bs4/_deprecation.py�aliasz _deprecated_alias.<locals>.alias sB �� � �
�
�,�X�J�o�h�Z�Om�nu�mv�vw�x���
�
�t�X�&�&� �valueNc �j �� t j d�� d�� d�� d�t d�� t | �|� S )r zWrite to deprecated property r r
r r r )r r r �setattr)r r r r r s ���r r z _deprecated_alias.<locals>.alias&