Skip to content

Commit 1b6d085

Browse files
authored
Spelling and grammar
1 parent 477eb08 commit 1b6d085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ class Person(Document):
5454
name = Text(fields={"keyword": Keyword()})
5555
popularity = Long()
5656

57-
# copletion field with a custom analyzer
57+
# completion field with a custom analyzer
5858
suggest = Completion(analyzer=ascii_fold)
5959

6060
def clean(self):
6161
"""
6262
Automatically construct the suggestion input and weight by taking all
63-
possible permutation of Person's name as ``input`` and taking their
63+
possible permutations of Person's name as ``input`` and taking their
6464
popularity as ``weight``.
6565
"""
6666
self.suggest = {

0 commit comments

Comments
 (0)