結果 : patch return value of function python