
    OwgZ                    d    d Z ddlmZ ddlZd Zd Zd Zd Zd Zd	 Z	d
 Z
d Zd Zd Zd Zd Zy)z
Reversed Operations not available in the stdlib operator module.
Defining these instead of using lambdas allows us to reference them by name.
    )annotationsNc                    || z   S N leftrights     L/var/www/horilla/myenv/lib/python3.12/site-packages/pandas/core/roperator.pyraddr   
       4<    c                    || z
  S r   r   r   s     r
   rsubr      r   r   c                    || z  S r   r   r   s     r
   rmulr      r   r   c                    || z  S r   r   r   s     r
   rdivr      r   r   c                    || z  S r   r   r   s     r
   rtruedivr      r   r   c                    || z  S r   r   r   s     r
   	rfloordivr      s    D=r   c                r    t        |t              r#t        |       j                  }t	        | d      || z  S )Nz! cannot perform the operation mod)
isinstancestrtype__name__	TypeError)r   r	   typs      r
   rmodr   "   s:     %4j!!3%@ABB4<r   c                    t        ||       S r   )divmodr   s     r
   rdivmodr"   -   s    %r   c                    || z  S r   r   r   s     r
   rpowr$   1   s    $;r   c                .    t        j                  ||       S r   )operatorand_r   s     r
   rand_r(   5   s    ==%%r   c                .    t        j                  ||       S r   )r&   or_r   s     r
   ror_r+   9       <<t$$r   c                .    t        j                  ||       S r   )r&   xorr   s     r
   rxorr/   =   r,   r   )__doc__
__future__r   r&   r   r   r   r   r   r   r   r"   r$   r(   r+   r/   r   r   r
   <module>r2      sN    # &%%r   