From bcf0d57df3580d80c36105c771005b5cb09f048e Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Fri, 2 Oct 2015 14:46:56 -0700 Subject: [PATCH] PYTHON-990: Fix argument name in notes --- pymongo/collection.py | 2 +- pymongo/operations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pymongo/collection.py b/pymongo/collection.py index e3cc4c786..d03bb3d08 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -1250,7 +1250,7 @@ class Collection(common.BaseObject): using the option will fail if a duplicate value is detected. .. note:: `expireAfterSeconds` requires server version **>= 2.2** - .. note:: `partialFilterIndexes` requires server version **>= 3.2** + .. note:: `partialFilterExpression` requires server version **>= 3.2** :Parameters: - `keys`: a single key or a list of (key, direction) diff --git a/pymongo/operations.py b/pymongo/operations.py index e9116bb6c..820618d64 100644 --- a/pymongo/operations.py +++ b/pymongo/operations.py @@ -228,7 +228,7 @@ class IndexModel(object): See the MongoDB documentation for a full list of supported options by server version. - .. note:: `partialFilterIndexes` requires server version **>= 3.2** + .. note:: `partialFilterExpression` requires server version **>= 3.2** :Parameters: - `keys`: a single key or a list of (key, direction)