o
    áË·eé  ã                   @   s4   d Z ddlmZ ddlmZmZ G dd„ deƒZdS )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                       s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚFixFutureStandardLibraryUrllibé   c                    s*   t |ƒ}tt| ƒ ||¡}tdd|ƒ |S )NÚfutureÚstandard_library)r   Úsuperr   Ú	transformr   )ÚselfÚnodeÚresultsÚrootÚresult©Ú	__class__© úk/var/www/ideatree/venv/lib/python3.10/site-packages/libfuturize/fixes/fix_future_standard_library_urllib.pyr
      s   z(FixFutureStandardLibraryUrllib.transform)Ú__name__Ú
__module__Ú__qualname__Ú	run_orderr
   Ú__classcell__r   r   r   r   r      s    r   N)Ú__doc__Úlib2to3.fixes.fix_urllibr   Úlibfuturize.fixer_utilr   r   r   r   r   r   r   Ú<module>   s    