U
    +if6                     @   sp   d 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.
    Nc                 C   s   ||  S N leftrightr   r   H/home/mars/bis/venv/lib/python3.8/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   rpow/   s    r   c                 C   s   t || S r   )operatorand_r   r   r   r   rand_3   s    r   c                 C   s   t || S r   )r   or_r   r   r   r   ror_7   s    r   c                 C   s   t || S r   )r   xorr   r   r   r   rxor;   s    r   )__doc__r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>   s   