o
    ôT·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   úX/home/dinkstrade/pdmp-scanner/venv/lib/python3.10/site-packages/pandas/core/roperator.pyÚradd
   ó   r	   c                 C  s   ||  S r   r   r   r   r   r   Úrsub   r
   r   c                 C  s   ||  S r   r   r   r   r   r   Úrmul   r
   r   c                 C  ó   ||  S r   r   r   r   r   r   Úrdiv   r
   r   c                 C  r   r   r   r   r   r   r   Úrtruediv   r
   r   c                 C  s   ||  S r   r   r   r   r   r   Ú	rfloordiv   r
   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   r
   r   c                 C  ó   t  || ¡S r   )ÚoperatorÚand_r   r   r   r   Úrand_5   ó   r   c                 C  r   r   )r   Úor_r   r   r   r   Úror_9   r   r!   c                 C  r   r   )r   Úxorr   r   r   r   Úrxor=   r   r#   )Ú__doc__Ú
__future__r   r   r	   r   r   r   r   r   r   r   r   r   r!   r#   r   r   r   r   Ú<module>   s    