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 :  /usr/lib/python3/dist-packages/scipy/_lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/scipy/_lib/__pycache__/deprecation.cpython-311.pyc
�

d�ch��F�ddlZddlZdgZdd�ZGd�d��Zd	d�ZdS)
�N�_deprecated�c������fd�}|S)z2Deprecate a function by emitting a warning on use.c�����t�t��r1tjd����t
d����St
j������fd���}�j|_|S)NzTrying to deprecate class {!r}r��category�
stacklevelc�L��tj�t�����|i|��S)Nr)�warnings�warn�DeprecationWarning)�args�kwargs�fun�msgr	s  ����8/usr/lib/python3/dist-packages/scipy/_lib/deprecation.py�callz'_deprecated.<locals>.wrap.<locals>.calls9����M�#�(:�%/�
1�
1�
1�
1��3��'��'�'�'�)	�
isinstance�typerr�format�RuntimeWarning�	functools�wraps�__doc__)rrrr	s` ��r�wrapz_deprecated.<locals>.wrap	s������c�4� � �	��M�0�7�7��<�<�'�A�
7�
7�
7�
7��J�	���	�	�	(�	(�	(�	(�	(�	(�
�	�	(��{����r�)rr	rs`` rrrs)����
�
�
�
�
�
��Krc�$�eZdZdZd�Zd�Zd�ZdS)�_DeprecationHelperStrz3
    Helper class used by deprecate_cython_api
    c�"�||_||_dS�N)�_content�_message)�self�content�messages   r�__init__z_DeprecationHelperStr.__init__s����
���
�
�
rc�*�t|j��Sr!)�hashr")r$s r�__hash__z_DeprecationHelperStr.__hash__#s���D�M�"�"�"rc�b�|j|k}|r!tj|jtd���|S)Nrr)r"rrr#r
)r$�other�ress   r�__eq__z_DeprecationHelperStr.__eq__&s>���}��%���	(��M�$�-�2D�%&�
(�
(�
(�
(��
rN)�__name__�
__module__�__qualname__rr'r*r.rrrrrsK�������� � � �#�#�#�����rrc�r�d�|j|��}|�d|z}n	d|�d|�d�}|�|d|zz
}|j}d}d	}	d�||��}	|	|vr.d
}|�|	��|t	|	|��<|dz
}nn�J|s(|�|��|t	||��<dSdS)
a>
    Deprecate an exported cdef function in a public Cython API module.

    Only functions can be deprecated; typedefs etc. cannot.

    Parameters
    ----------
    module : module
        Public Cython API module (e.g. scipy.linalg.cython_blas).
    routine_name : str
        Name of the routine to deprecate. May also be a fused-type
        routine (in which case its all specializations are deprecated).
    new_name : str
        New name to include in the deprecation warning message
    message : str
        Additional text in the deprecation warning message

    Examples
    --------
    Usually, this function would be used in the top-level of the
    module ``.pyx`` file:

    >>> from scipy._lib.deprecation import deprecate_cython_api
    >>> import scipy.linalg.cython_blas as mod
    >>> deprecate_cython_api(mod, "dgemm", "dgemm_new",
    ...                      message="Deprecated in Scipy 1.5.0")
    >>> del deprecate_cython_api, mod

    After this, Cython modules that use the deprecated function emit a
    deprecation warning when they are imported.

    z{}.{}Nz`%s` is deprecated!�`z` is deprecated, use `z
` instead!�
rFTz__pyx_fuse_{}{}�)rr/�__pyx_capi__�popr)
�module�routine_name�new_namer&�old_name�depdoc�d�j�	has_fused�
fused_names
          r�deprecate_cython_apirA.s��B�~�~�f�o�|�<�<�H���&��1�����(�(�H�H�H�&�����$��.� ����A�	
�A��I��&�-�-�a��>�>�
���?�?��I�;<�5�5��;L�;L�A�#�J��7�7�8�
��F�A�A����M�9:���|�9L�9L��
��f�
5�
5�6�6�6�M�Mr)r)NN)rr�__all__rrrArrr�<module>rCs������������/������(��������&<M�<M�<M�<M�<M�<Mr

Youez - 2016 - github.com/yon3zu
LinuXploit