diff --git a/examples/async/completion.py b/examples/async/completion.py index 4f159b7b..cbd6b3e1 100644 --- a/examples/async/completion.py +++ b/examples/async/completion.py @@ -60,7 +60,7 @@ class Person(AsyncDocument): def clean(self): """ Automatically construct the suggestion input and weight by taking all - possible permutation of Person's name as ``input`` and taking their + possible permutations of Person's name as ``input`` and taking their popularity as ``weight``. """ self.suggest = { diff --git a/examples/completion.py b/examples/completion.py index 4da648df..888eee62 100644 --- a/examples/completion.py +++ b/examples/completion.py @@ -59,7 +59,7 @@ class Person(Document): def clean(self): """ Automatically construct the suggestion input and weight by taking all - possible permutation of Person's name as ``input`` and taking their + possible permutations of Person's name as ``input`` and taking their popularity as ``weight``. """ self.suggest = {