def copy_dedent(source):
 return (lambda target: dedent(copy(source)(target)))

def copy_dedent ( source ) : return ( lambda target : dedent ( copy ( source ) ( target ) ) )
a decorator that will copy the docstring from the source and then dedent it .