HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/twisted/internet/__pycache__/default.cpython-310.pyc
o

�be�@s*dZdgZddlmZdd�Zee�ZdS)z�
The most suitable default reactor for the current platform.

Depending on a specific application's needs, some other reactor may in
fact be better.
�install�)�platformcCs�z<|��r!z
ddlm}WW|Sty ddlm}YW|Sw|��dkr4|��s4ddlm}W|Sddlm}W|StyLddlm}Y|Sw)a'
    Return a function to install the reactor most suited for the given platform.

    @param platform: The platform for which to select a reactor.
    @type platform: L{twisted.python.runtime.Platform}

    @return: A zero-argument callable which will install the selected
        reactor.
    r)r�posix)�isLinux�twisted.internet.epollreactorr�ImportError�twisted.internet.pollreactor�getType�isMacOSX�twisted.internet.selectreactor)rr�r�:/usr/lib/python3/dist-packages/twisted/internet/default.py�_getInstallFunctions$	�����rN)�__doc__�__all__�twisted.python.runtimerrrrrrr
�<module>s
%