o
    ¯bî  ã                   @   s8   d Z ddlmZ e d¡Ze d¡Zdd„ Zg d¢ZdS )	z©
Backwards compatibility, and utility functions.

In general, this module should not be used, other than by reactor authors
who need to use the 'installReactor' method.
é    )ÚerrorzConnection donezConnection lostc                 C   s:   ddl }ddl}d|jv rt d¡‚| |j_| |jd< dS )zt
    Install reactor C{reactor}.

    @param reactor: An object that provides one or more IReactor* interfaces.
    r   Nztwisted.internet.reactorzreactor already installed)ÚsysÚtwisted.internetÚmodulesr   ÚReactorAlreadyInstalledErrorÚinternetÚreactor)r   r   Útwisted© r
   ú7/usr/lib/python3/dist-packages/twisted/internet/main.pyÚinstallReactor   s   

r   )ÚCONNECTION_LOSTÚCONNECTION_DONEr   N)	Ú__doc__r   r   ÚConnectionDoner   ÚConnectionLostr   r   Ú__all__r
   r
   r
   r   Ú<module>   s   

