修复语法错误, 添加doctest
Merge pull request #1 from hitsmaxft/master

小小改改..测测pycharm : )