o
¯be ã @ s* d Z dgZddlmZ dd„ 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é )Úplatformc C sš z<| ¡ r!z
ddlm} W W |S ty ddlm} Y W |S w | ¡ dkr4| ¡ s4ddlm} W |S ddlm} W |S tyL ddlm} Y |S w )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)r r © r ú:/usr/lib/python3/dist-packages/twisted/internet/default.pyÚ_getInstallFunction s$ øøýþþr N)Ú__doc__Ú__all__Útwisted.python.runtimer r r r r r r
Ú