
    \d                     d    d Z ddlmZ  ej        d          Z ej        d          Z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                 |    ddl }ddl}d|j        v rt          j        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   twisteds      5lib/python3.11/site-packages/twisted/internet/main.pyinstallReactorr      sV     JJJ!S[0001LMMM&G.5CK*+++    )CONNECTION_LOSTCONNECTION_DONEr   N)	__doc__r   r   ConnectionDoner   ConnectionLostr   r   __all__ r   r   <module>r      sj     # " " " " "&%&'899&%&'8996 6 6" C
B
Br   