def _maybeGlobalReactor(maybeReactor):
    if maybeReactor is None:
        from twisted.internet import reactor
        return reactor
    else:
        return maybeReactor
@return: the argument, or the global reactor if the argument is C{None}.
dataset/ETHPy150Open twisted/twisted/twisted/application/internet.py/_maybeGlobalReactor