Sindbad~EG File Manager
�
Mٜg�
� �d � d Z ddlmZ ddlmZmZ ddlmZ ddlm Z erddl
mZ G d� dee� Z
y )
zj
frozen (immutable) data structures to support MultiIndexing
These are used for:
- .names (FrozenList)
� )�annotations)�
TYPE_CHECKING�NoReturn)�PandasObject��pprint_thing)�Selfc � � � e Zd ZdZd
� fd�Zd
d�ZexZZ� fd�Zdd�Z d� fd�Z
e
Zd� fd�ZeZ
d� Zdd �Zdd
�Zdd�Zdd�ZexZZexZZexZxZZexZxZZ� xZS )�
FrozenListz�
Container that doesn't allow setting item *but*
because it's technically hashable, will be used
for lookups, appropriately, etc.
c �v �� t |t � rt |� } t | � t �| � |� � S )aF
Returns a FrozenList with other concatenated to the end of self.
Parameters
----------
other : array-like
The array-like whose elements we are concatenating.
Returns
-------
FrozenList
The collection difference between self and other.
)�
isinstance�tuple�list�type�super�__add__��self�other� __class__s ��E/usr/local/lib/python3.12/site-packages/pandas/core/indexes/frozen.py�unionzFrozenList.union"