[docs] [issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function