modify functools
Merge branch 'master' of https://github.com/wangst321/python-ex