Skip to content

Commit 5ee2e46

Browse files
committed
Fix typo in docstring
1 parent 02b318f commit 5ee2e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymongo/collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def create_index(self, key_or_list, cache_for=300, **kwargs):
744744
>>> my_collection.create_index([("mike", pymongo.DESCENDING),
745745
... ("eliot", pymongo.ASCENDING)])
746746
747-
All optional index creation paramaters should be passed as
747+
All optional index creation parameters should be passed as
748748
keyword arguments to this method. Valid options include:
749749
750750
- `name`: custom name to use for this index - if none is
@@ -855,7 +855,7 @@ def ensure_index(self, key_or_list, cache_for=300, **kwargs):
855855
Returns the name of the created index if an index is actually
856856
created. Returns ``None`` if the index already exists.
857857
858-
All optional index creation paramaters should be passed as
858+
All optional index creation parameters should be passed as
859859
keyword arguments to this method. Valid options include:
860860
861861
- `name`: custom name to use for this index - if none is

0 commit comments

Comments
 (0)