Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/numpy/lib/__pycache__/ |
Upload File : |
o 6��a_ � @ 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 � 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 r!d|v rt 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� �5/usr/lib/python3/dist-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 r )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&