ó
âÂMc           @   s8   d  Z  d g Z d d l m Z d „  Z e e ƒ Z d S(   s•   
The most suitable default reactor for the current platform.

Depending on a specific application's needs, some other reactor may in
fact be better.
t   installiÿÿÿÿ(   t   platformc         C   sF   |  j  ƒ  d k r2 |  j ƒ  r2 d d l m } n d d l m } | S(   s'  
    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.
    t   posixiÿÿÿÿ(   R    (   t   getTypet   isMacOSXt   twisted.internet.pollreactorR    t   twisted.internet.selectreactor(   R   R    (    (    s<   /usr/lib/python2.7/dist-packages/twisted/internet/default.pyt   _getInstallFunction   s    N(   t   __doc__t   __all__t   twisted.python.runtimeR   R   R    (    (    (    s<   /usr/lib/python2.7/dist-packages/twisted/internet/default.pyt   <module>
   s   		!