Skip to content

Commit bcf0d57

Browse files
bjoribehackett
authored andcommitted
PYTHON-990: Fix argument name in notes
1 parent 9364abe commit bcf0d57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymongo/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ def create_index(self, keys, **kwargs):
12501250
using the option will fail if a duplicate value is detected.
12511251
12521252
.. note:: `expireAfterSeconds` requires server version **>= 2.2**
1253-
.. note:: `partialFilterIndexes` requires server version **>= 3.2**
1253+
.. note:: `partialFilterExpression` requires server version **>= 3.2**
12541254
12551255
:Parameters:
12561256
- `keys`: a single key or a list of (key, direction)

pymongo/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def __init__(self, keys, **kwargs):
228228
See the MongoDB documentation for a full list of supported options by
229229
server version.
230230
231-
.. note:: `partialFilterIndexes` requires server version **>= 3.2**
231+
.. note:: `partialFilterExpression` requires server version **>= 3.2**
232232
233233
:Parameters:
234234
- `keys`: a single key or a list of (key, direction)

0 commit comments

Comments
 (0)