Skip to content

Commit

Permalink
Fix a typo: parttern->pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneg committed Apr 1, 2016
1 parent 18addeb commit 0bbd1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Coroutines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Python中的协程和生成器很相似但又稍有不同。主要区别在于

```python
def grep(pattern):
print("Searching for", parttern)
print("Searching for", pattern)
while True:
line = (yield)
if pattern in line:
Expand Down

0 comments on commit 0bbd1d5

Please sign in to comment.