python closure 测试代码修改