a
    DBìjZ  ã                   @  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   úT/mnt/bigstor/www/usecases/.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   