
    EgZ                    f    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dS )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     J/var/www/sysmax/venv/lib/python3.11/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                    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   "   sF     % C4jj!3AAAB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      s     # " " " " "                   & & &% % %% % % % %r   