
    Owg{                    H    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
y)	z*
Functions for defining unary operations.
    )annotations)TYPE_CHECKINGAny)ABCExtensionArray)	ArrayLikec                F    t        | t              xs 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   )leftrights     O/var/www/horilla/myenv/lib/python3.12/site-packages/pandas/core/ops/dispatch.pyshould_extension_dispatchr      s     d-.V*UDU2VV    N)r
   r   r   r   returnbool)__doc__
__future__r   typingr   r   pandas.core.dtypes.genericr   pandas._typingr   r    r   r   <module>r      s%    #
 9(Wr   