U
    c6{iî  ă                   @   s:   d Z ddlmZ e dˇZe dˇZdd„ Zdddg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k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   ZReactorAlreadyInstalledErrorZinternetÚreactor)r   r   Ztwisted© r   ú9/tmp/pip-unpacked-wheel-hfbvu0bz/twisted/internet/main.pyÚinstallReactor   s    

r	   ÚCONNECTION_LOSTÚCONNECTION_DONEN)	Ú__doc__r   r   ZConnectionDoner   ZConnectionLostr
   r	   Ú__all__r   r   r   r   Ú<module>   s
   

