403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/bs4/__pycache__/_deprecation.cpython-312.pyc
�

V	�gZ	�
�t�dZddlZddlZddlmZmZdededefd�Zdedededeegeffd	�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����tdtf���fd��}|jdtddf���fd��}|S)zWAlias one attribute name to another for backward compatibility

    :meta private:
    �returnc	�h��tjd��d��d��d�td��t|��S)�:meta private:zAccess to deprecated property �. (Replaced by �) -- Deprecated since version �.���
stacklevel��warnings�warn�DeprecationWarning�getattr)�selfrrrs ����2C:\Python312\Lib\site-packages\bs4/_deprecation.py�aliasz _deprecated_alias.<locals>.aliassB���	�
�
�,�X�J�o�h�Z�Om�nu�mv�vw�x���	
�
�t�X�&�&��valueNc	�j��tjd��d��d��d�td��t|�|�S)rzWrite to deprecated property rr
rrr)rrr�setattr)rrrrrs  ���rrz _deprecated_alias.<locals>.alias&sD���	�
�
�+�H�:�_�X�J�Nl�mt�lu�uv�w���	
�
�t�X�u�-�-r)�propertyr�setter�str�rrrrs``` r�_deprecated_aliasr"sK����'�s�'��'��\�\�.�3�.�4�.��.��Lrr	c�@����dtdtdtf���fd�}|S)N�args�kwargsr	c	�t��tjd��d��d��d�td��t|��|i|��S�rzCall to deprecated method rr
rrrr)rr$r%rrrs   ���rrz)_deprecated_function_alias.<locals>.alias6sL����
�
�(��
�/�(��Ki�jq�ir�rs�t���	
�
'�w�t�X�&��7��7�7r)rr!s``` r�_deprecated_function_aliasr(3s$���8�3�8�#�8�#�8��Lr�replaced_byc�0���dtdtf��fd�}|S)N�funcr	c�n���tj��dtdtdtf���fd��}|S)Nr$r%r	c	�t��tjd�j�d��d��d�td���|i|��Sr')rr�__name__r)r$r%r+r)rs  ���r�with_warningz4_deprecated.<locals>.deprecate.<locals>.with_warningDsL���
�M�M�,�T�]�]�O�?�;�-�Wu�v}�u~�~�A�"��
�
��(��(�(r)�	functools�wrapsr)r+r/r)rs` ��r�	deprecatez_deprecated.<locals>.deprecateCs;���	����	�	)��	)�s�	)�s�	)�
�	)��r)r)r)rr2s`` r�_deprecatedr3Bs������X���r)
�__doc__r0r�typingrrr r"r(r3�rr�<module>r7s{��
�������s��S��:��� ��+.��
�s�e�S�j����S��3��8�r

Youez - 2016 - github.com/yon3zu
LinuXploit