
    Eg{                    J    d Z ddlmZ ddlmZmZ ddlmZ erddlm	Z	 ddZ
dS )z*
Functions for defining unary operations.
    )annotations)TYPE_CHECKINGAny)ABCExtensionArray)	ArrayLikeleftr   rightr   returnboolc                V    t          | t                    pt          |t                    S )z
    Identify cases where Series operation should dispatch to ExtensionArray method.

    Parameters
    ----------
    left : np.ndarray or ExtensionArray
    right : object

    Returns
    -------
    bool
    )
isinstancer   )r   r	   s     M/var/www/sysmax/venv/lib/python3.11/site-packages/pandas/core/ops/dispatch.pyshould_extension_dispatchr      s%     d-..V*UDU2V2VV    N)r   r   r	   r   r
   r   )__doc__
__future__r   typingr   r   pandas.core.dtypes.genericr   pandas._typingr   r    r   r   <module>r      s     # " " " " "       
 9 8 8 8 8 8 )((((((W W W W W Wr   