結果 : patch a variable in a function python