\6Zs R d Z ddlmZ ddlmZmZ d Z G d dej ZdS )z? Fixer for division: from __future__ import division if needed ) fixer_base)token future_importc t t j }| j |k o!| j j |k o| j j |k S )zw __future__.division redefines the meaning of a single slash for division, so we match that and only that. )r SLASHtypenext_siblingprev_sibling)nodeslashs r/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_division.pymatch_divisionr sH KE9 Fd&7&<&E"E F&*&7&<&E"EF c e Zd ZdZd Zd ZdS )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 matchzFixDivision.match s d###r c &