The idea is okay, but I'm not keen about the syntax, because it doesn't read well as English. Currently "def" can be read as the verb "define", but "return define" doesn't make sense.
Maybe it would be better as a pseudo-decorator:
@return def f(args): ...
But I'm inclined to agree with Guido that this isn't a frequent enough thing to warrant special syntax.