%PDF- %PDF-
| Direktori : /lib64/python3.9/site-packages/numpy/lib/__pycache__/ |
| Current File : //lib64/python3.9/site-packages/numpy/lib/__pycache__/ufunclike.cpython-39.pyc |
a
z[yc_ � @ s� d Z g d�Zddlm mZ ddlmZmZ ddl Z ddl
Z
dd� Zdd� Zd d
� Z
eddd��Zeed
dd�e
ddd���Zeed
dd�e
ddd���Zeed
dd�e
ddd���ZdS )zr
Module of functions that are like ufuncs in acting on arrays and optionally
storing results in an output array.
)�fix�isneginf�isposinf� N)�array_function_dispatch�ARRAY_FUNCTION_ENABLEDc s t �� �d� fdd� �}|S )z|
Allow the out argument to be passed as the name `y` (deprecated)
In future, this decorator should be removed.
Nc sV d|v rBd|v r t d�� j���|�d�}tjd�� j�tdd� � | fd|i|��S )N�y�outz-{} got multiple values for argument 'out'/'y'zXThe name of the out argument to {} has changed from `y` to `out`, to match other ufuncs.� )�
stacklevel)� TypeError�format�__name__�pop�warnings�warn�DeprecationWarning��xr �kwargs��f� �9/usr/lib64/python3.9/site-packages/numpy/lib/ufunclike.py�func s ��
��z$_deprecate_out_named_y.<locals>.func)N�� functools�wraps�r r r r r �_deprecate_out_named_y s r c s t �� �d� fdd� �}|S )z�
Allow the out argument to be passed as the name `y` (deprecated)
This decorator should only be used if _deprecate_out_named_y is used on
a corresponding dispatcher function.
Nc s&