§
    µ¯¸jË  ã                  ó@   — d dl mZ ddlmZ ddlmZ d dlZddœdd„ZdS )é    )Úannotationsé   )ÚArray)Ú_integer_dtypesN©ÚaxisÚxr   Úindicesr   úOptional[int]Úreturnc              ó  — |€| j         dk    rt          d¦  «        ‚|j        t          vrt	          d¦  «        ‚|j         dk    rt          d¦  «        ‚t          j        t          j        | j	        |j	        |¬¦  «        ¦  «        S )zx
    Array API compatible wrapper for :py:func:`np.take <numpy.take>`.

    See its docstring for more information.
    Nr   z$axis must be specified when ndim > 1z+Only integer dtypes are allowed in indexingz%Only 1-dim indices array is supportedr   )
ÚndimÚ
ValueErrorÚdtyper   Ú	TypeErrorr   Ú_newÚnpÚtakeÚ_array)r	   r
   r   s      ús/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/numpy/array_api/_indexing_functions.pyr   r      s   € ð €|˜œ !š˜ÝÐ?Ñ@Ô@Ð@Ø„}�OÐ+Ð+ÝÐEÑFÔFÐFØ„|�qÒÐÝÐ@ÑAÔAÐAÝŒ:•b”g˜aœh¨¬¸TÐBÑBÔBÑCÔCÐCó    )r	   r   r
   r   r   r   r   r   )	Ú
__future__r   Ú_array_objectr   Ú_dtypesr   Únumpyr   r   © r   r   ú<module>r      sz   ðØ "Ð "Ð "Ð "Ð "Ð "à  Ð  Ð  Ð  Ð  Ð  Ø $Ð $Ð $Ð $Ð $Ð $à Ð Ð Ð à?Cð Dð Dð Dð Dð Dð Dð Dð Dr   