human
Complete this python program:
def defers(func):
assistant
#Here is the Python code you requested.

    """Decorator to make sure a function always returns a deferred
    """
    @wraps(func)
    def wrapped(*a, **kw):
        return defer.maybeDeferred(func, *a, **kw)
    return wrapped