a
    )¶(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   ZReactorAlreadyInstalledErrorZinternetÚreactor)r   r   Ztwisted© r   ú4lib/python3.9/site-packages/twisted/internet/main.pyÚinstallReactor   s    

r	   )ÚCONNECTION_LOSTÚCONNECTION_DONEr	   N)	Ú__doc__r   r   ZConnectionDoner   ZConnectionLostr
   r	   Ú__all__r   r   r   r   Ú<module>   s
   

