Ë
    	š„jˆ  ã                   óT   — d Z ddlmZ ddlmZmZ d„ Z G d„ dej                  «      Zy)z?
Fixer for division: from __future__ import division if needed
é    )Ú
fixer_base)ÚtokenÚfuture_importc                 ó°   — t         j                  }| j                  |k(  xr6 | j                  j                  |k(   xr | j                  j                  |k(   S )zw
    __future__.division redefines the meaning of a single slash for division,
    so we match that and only that.
    )r   ÚSLASHÚtypeÚnext_siblingÚprev_sibling)ÚnodeÚslashs     úW/var/www/html/GAP/venv/lib/python3.12/site-packages/libpasteurize/fixes/fix_division.pyÚmatch_divisionr      sX   € ô
 �K‰K€EØ�9‰9˜Ñò F d×&7Ñ&7×&<Ñ&<ÀÑ&EÐ"Eò FØ&*×&7Ñ&7×&<Ñ&<ÀÑ&EÐ"EðFó    c                   ó   — e Zd ZdZd„ Zd„ Zy)ÚFixDivisioné   c                 ó   — t        |«      S )z¦
        Since the tree needs to be fixed once and only once if and only if it
        matches, then we can start discarding matches after we make the first.
        )r   )Úselfr   s     r   ÚmatchzFixDivision.match   s   € ô
 ˜dÓ#Ð#r   c                 ó   — t        d|«       y )NÚdivision)r   )r   r   Úresultss      r   Ú	transformzFixDivision.transform   s   € Ü�k 4Õ(r   N)Ú__name__Ú
__module__Ú__qualname__Ú	run_orderr   r   © r   r   r   r      s   „ Ø€Iò$ó)r   r   N)	Ú__doc__Úlib2to3r   Úlibfuturize.fixer_utilr   r   r   ÚBaseFixr   r   r   r   ú<module>r#      s*   ðñõ ß 7òFô)�*×$Ñ$õ )r   