def inlineCallbacks(f):
    def unwindGenerator(*args, **kwargs):
        return _inlineCallbacks(None, f(*args, **kwargs), defer.Deferred())
    return defer.mergeFunctionMetadata(f, unwindGenerator)
WARNING: this function will not work in Python 2.4 and earlier!
dataset/ETHPy150Open foundit/Piped/contrib/status_testing/piped_status_testing/util.py/inlineCallbacks