← Back
Editing: _manipulation_functions.cpython-311.pyc
� ���c� � � � d dl mZ ddlmZ ddlmZ d dlmZmZm Z m Z d dlZd d�dd�Z dd�Zdd�d d�Zd!d�Zd"d�Zdd�d#d�Zd$d�Zd d�d%d�ZdS )&� )�annotations� )�Array)�result_type)�List�Optional�Tuple�UnionN��axis�arrays�%Union[Tuple[Array, ...], List[Array]]r � Optional[int]�returnr c � � t | � }t d� | D � � � � } t j t j | ||�� � � � S )z� Array API compatible wrapper for :py:func:`np.concatenate <numpy.concatenate>`. See its docstring for more information. c 3 �$ K � | ]}|j V � �d S �N��_array��.0�as �I/usr/lib/python3/dist-packages/numpy/array_api/_manipulation_functions.py� <genexpr>zconcat.<locals>.<genexpr> �$ � � � �,�,��1�8�,�,�,�,�,�,� )r �dtype)r �tupler �_new�np�concatenate)r r r s r �concatr"