
    Fwg                     :    d Z ddlmZ ddlmZmZ  G d de      Zy)a   
For the ``future`` package.

A special fixer that ensures that these lines have been added::

    from future import standard_library
    standard_library.install_hooks()

even if the only module imported was ``urllib``, in which case the regular fixer
wouldn't have added these lines.

    )	FixUrllib)touch_import_top	find_rootc                   "     e Zd ZdZ fdZ xZS )FixFutureStandardLibraryUrllib   c                 `    t        |      }t        t        |   ||      }t	        dd|       |S )Nfuturestandard_library)r   superr   	transformr   )selfnoderesultsrootresult	__class__s        k/var/www/horilla/myenv/lib/python3.12/site-packages/libfuturize/fixes/fix_future_standard_library_urllib.pyr   z(FixFutureStandardLibraryUrllib.transform   s4     5tFtWU$7>    )__name__
__module____qualname__	run_orderr   __classcell__)r   s   @r   r   r      s    I r   r   N)__doc__lib2to3.fixes.fix_urllibr   libfuturize.fixer_utilr   r   r    r   r   <module>r      s    / >
Y 
r   