a
    OfZ                     @  s|   d Z ddlmZ ddlZdd Zdd Zdd	 Zd
d Zdd Zdd Z	dd Z
dd Zdd Zdd Zdd Zd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                 C  s   ||  S N leftrightr   r   N/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pandas/core/roperator.pyradd
   s    r	   c                 C  s   ||  S r   r   r   r   r   r   rsub   s    r
   c                 C  s   ||  S r   r   r   r   r   r   rmul   s    r   c                 C  s   ||  S r   r   r   r   r   r   rdiv   s    r   c                 C  s   ||  S r   r   r   r   r   r   rtruediv   s    r   c                 C  s   ||  S r   r   r   r   r   r   	rfloordiv   s    r   c                 C  s*   t |tr"t| j}t| d||  S )Nz! cannot perform the operation mod)
isinstancestrtype__name__	TypeError)r   r   typr   r   r   rmod"   s    

r   c                 C  s
   t || S r   )divmodr   r   r   r   rdivmod-   s    r   c                 C  s   ||  S r   r   r   r   r   r   rpow1   s    r   c                 C  s   t || S r   )operatorand_r   r   r   r   rand_5   s    r   c                 C  s   t || S r   )r   or_r   r   r   r   ror_9   s    r   c                 C  s   t || S r   )r   xorr   r   r   r   rxor=   s    r   )__doc__
__future__r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>   s   