Fix type error in chapter-7
Merge pull request #69 from mengche/patch-1

Fix typo error in chapter-7