Skip to content

Commit 4032e1c

Browse files
committed
Modify example
This is useless in Python 3, but it avoids Python 2 users getting an error when trying the example. This fixes jxmorris12#18.
1 parent f842225 commit 4032e1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ From the interpreter:
1818

1919
>>> import language_check
2020
>>> tool = language_check.LanguageTool('en-US')
21-
>>> text = 'A sentence with a error in the Hitchhiker’s Guide tot he Galaxy'
21+
>>> text = u'A sentence with a error in the Hitchhiker’s Guide tot he Galaxy'
2222
>>> matches = tool.check(text)
2323
>>> len(matches)
2424
2

0 commit comments

Comments
 (0)